From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12001: 24.1.50; vc-diff always talks to CVS repository Date: Thu, 23 Aug 2012 03:09:47 -0400 Message-ID: References: <83vcgdardy.fsf@gnu.org> <5vtxvw529e.fsf@fencepost.gnu.org> <838vd7bpns.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1345705850 882 80.91.229.3 (23 Aug 2012 07:10:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2012 07:10:50 +0000 (UTC) Cc: Paul Eggert , 12001@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 23 09:10:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4RYy-0000Kw-2m for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 09:10:44 +0200 Original-Received: from localhost ([::1]:48013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4RYw-00056U-4x for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 03:10:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4RYo-00056P-QP for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 03:10:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4RYn-0006yC-OK for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 03:10:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4RYn-0006y8-Kr for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 03:10:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T4RZG-0007yC-6m for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 03:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Aug 2012 07:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12001 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12001-submit@debbugs.gnu.org id=B12001.134570582230586 (code B ref 12001); Thu, 23 Aug 2012 07:11:02 +0000 Original-Received: (at 12001) by debbugs.gnu.org; 23 Aug 2012 07:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:44340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4RYc-0007xH-5C for submit@debbugs.gnu.org; Thu, 23 Aug 2012 03:10:22 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:34995) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4RYZ-0007xA-TM for 12001@debbugs.gnu.org; Thu, 23 Aug 2012 03:10:20 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1T4RY4-0001I6-3m; Thu, 23 Aug 2012 03:09:48 -0400 X-Spook: militia clandestine Mossad credit card anthrax Roswell X-Ran: JW3vb>g?qZ5NB6)I_99s-u@~85O*k&.GO`odfqp9LV1l!pA{wY2ey~Jter-rQ=|cu^\!}C X-Hue: blue X-Attribution: GM In-Reply-To: (Richard Stallman's message of "Wed, 22 Aug 2012 22:49:58 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63417 Archived-At: Richard Stallman wrote: > The reason for CVS in the subject line is that I saw > the problem originally with a file managed by CVS. Okaaaaay... Now I think I can reproduce this. Analyis: vc-cvs-state-heuristic returns 'edited when it should return 'up-to-date. Thus vc-before-save never makes a version backup, and diffs always contact the server. vc-cvs-state-heuristic returns 'edited because (vc-file-getprop file 'vc-checkout-time) returns 0, which never matches the file modification time. The vc-checkout-time property is set by vc-cvs-parse-entry. This fails to set the correct vc-checkout-time because, at vc-cvs.el:1175 time = "Thu Aug 23 06:50:59 2012" mtime = (20533 53971 188243 896000) parsed-time = (59 50 6 23 8 2012 4 nil 0) (apply 'encode-time parsed-time) = (20533 53971) != mtime So looks to me like this is a "high resolution time stamp" issue, so I'm punting to Paul.