From: Glenn Morris <rgm@gnu.org>
To: rms@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>, 12001@debbugs.gnu.org
Subject: bug#12001: 24.1.50; vc-diff always talks to CVS repository
Date: Thu, 23 Aug 2012 03:09:47 -0400 [thread overview]
Message-ID: <y1d32iccec.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1T4NUc-0002Ym-4C@fencepost.gnu.org> (Richard Stallman's message of "Wed, 22 Aug 2012 22:49:58 -0400")
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.
next prev parent reply other threads:[~2012-08-23 7:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-20 18:45 bug#12001: 24.1.50; vc-diff always talks to CVS repository Richard Stallman
2012-07-20 19:10 ` Andreas Schwab
2012-07-21 2:43 ` Richard Stallman
2012-07-21 8:01 ` Andreas Schwab
2012-08-19 22:29 ` Richard Stallman
2012-08-20 7:25 ` Andreas Schwab
2012-08-21 2:20 ` Richard Stallman
2012-08-21 2:52 ` Eli Zaretskii
2012-08-21 3:53 ` Glenn Morris
2012-08-21 21:22 ` Richard Stallman
2012-08-22 2:56 ` Eli Zaretskii
2012-08-22 3:13 ` Glenn Morris
2012-08-22 16:26 ` Eli Zaretskii
2012-08-22 16:33 ` Glenn Morris
2012-08-23 2:49 ` Richard Stallman
2012-08-23 7:09 ` Glenn Morris [this message]
2012-08-23 7:14 ` Glenn Morris
2012-08-23 7:16 ` Glenn Morris
2012-08-23 8:18 ` Paul Eggert
2012-08-24 2:17 ` Richard Stallman
2012-08-24 4:06 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=y1d32iccec.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=12001@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).