From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: vc-cvs-parse-entry
Date: Tue, 29 Aug 2006 17:06:50 -0400 [thread overview]
Message-ID: <jwvlkp7b6p8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <44F4A8D0.6090304@gmx.at> (martin rudalics's message of "Tue, 29 Aug 2006 22:51:28 +0200")
>> What system is that (w32?)?
> In GNU Emacs 22.0.50.1 (i386-mingw-windows98.3000)
Then it's a known problem that's pretty hard to fix:
w32 handles DST by changing the definition of "time 0", so during the
DST-change things behave as if all the files's timestamps had been changed
by 1 hour.
So there really is a 1-hour difference between what the CVS/Entries file
says and what the file's time stamp says. We could try to be more clever
with such situations, but since it's basically a case of braindamage in the
w32 "spec" I'd rather not bother.
IIRC "cvs update" will fix things for you.
Stefan
PS: Note that last I heard `cvs status' has to send the file over to the
server in order to figure out that it's up-to-date, because it uses the
exact same algorithm as vc-cvs.el to decide whether a file was touched
or not. You can figure that out with "cvs -t status":
% cvs -t status INSTALL.CVS
-> main: Session ID is Mg0eb0F9FW12DMKr
-> main loop with CVSROOT=/sources/emacs
-> open_connection_to_server (cvs.sv.gnu.org:/sources/emacs)
-> Starting server: ssh-cvs cvs.sv.gnu.org cvs server
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink_file(CVS/Entries.Log)
S -> serve_directory (.)
S -> dirswitch (., /sources/emacs/emacs)
S -> do_cvs_command (status)
S -> server_notify()
===================================================================
File: INSTALL.CVS Status: Up-to-date
Working revision: 1.7
Repository revision: 1.7 /sources/emacs/emacs/INSTALL.CVS,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: (none)
S -> server_pathname_check (INSTALL.CVS)
S -> Reader_Lock(/sources/emacs/emacs)
S -> Simple_Lock_Cleanup()
-> close_connection_to_server ()
S -> Lock_Cleanup()
S -> Simple_Lock_Cleanup()
S -> server_cleanup()
% touch INSTALL.CVS
% cvs -t status INSTALL.CVS
-> main: Session ID is 0Ihv3mbkCYccDMKr
-> main loop with CVSROOT=/sources/emacs
-> open_connection_to_server (cvs.sv.gnu.org:/sources/emacs)
-> Starting server: ssh-cvs cvs.sv.gnu.org cvs server
-> Sending file `INSTALL.CVS' to server
S -> serve_directory (.)
-> Register(INSTALL.CVS, 1.7, Tue Aug 29 21:05:25 2006, , )
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink_file(CVS/Entries.Log)
===================================================================
File: INSTALL.CVS Status: Up-to-date
Working revision: 1.7
Repository revision: 1.7 /sources/emacs/emacs/INSTALL.CVS,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: (none)
S -> server_pathname_check (INSTALL.CVS)
S -> Reader_Lock(/sources/emacs/emacs)
S -> RCS_cmp_file( /sources/emacs/emacs/INSTALL.CVS,v, 1.7, (null), , INSTALL.CVS )
S -> RCS_checkout (/sources/emacs/emacs/INSTALL.CVS,v, 1.7, , , (function))
S -> server_register(INSTALL.CVS, 1.7, Tue Aug 29 21:05:27 2006, , , , )
S -> Register(INSTALL.CVS, 1.7, Tue Aug 29 21:05:27 2006, , )
S -> Simple_Lock_Cleanup()
S -> rename(CVS/Entries.Backup,CVS/Entries)
S -> unlink_file(CVS/Entries.Log)
-> close_connection_to_server ()
S -> dirswitch (., /sources/emacs/emacs)
S -> do_cvs_command (status)
S -> server_notify()
S -> Lock_Cleanup()
S -> Simple_Lock_Cleanup()
S -> server_cleanup()
%
next prev parent reply other threads:[~2006-08-29 21:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-29 16:20 vc-cvs-parse-entry martin rudalics
2006-08-29 19:07 ` vc-cvs-parse-entry Stefan Monnier
2006-08-29 20:51 ` vc-cvs-parse-entry martin rudalics
2006-08-29 21:06 ` Stefan Monnier [this message]
2006-08-30 12:24 ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 17:51 ` vc-cvs-parse-entry martin rudalics
2006-09-02 13:10 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-02 13:45 ` vc-cvs-parse-entry martin rudalics
2006-09-02 14:48 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-03 10:40 ` vc-cvs-parse-entry martin rudalics
2006-09-03 21:00 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04 3:17 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04 9:17 ` vc-cvs-parse-entry martin rudalics
2006-09-04 17:55 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-05 9:10 ` vc-cvs-parse-entry martin rudalics
2006-09-05 18:31 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-10 9:55 ` vc-cvs-parse-entry martin rudalics
2006-09-10 21:17 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-11 9:41 ` vc-cvs-parse-entry martin rudalics
2006-09-11 14:14 ` vc-cvs-parse-entry Stefan Monnier
2006-09-12 3:50 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-14 8:40 ` vc-cvs-parse-entry martin rudalics
2006-09-15 17:43 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-15 17:51 ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 21:01 ` vc-cvs-parse-entry Stefan Monnier
2006-09-02 12:32 ` vc-cvs-parse-entry Eli Zaretskii
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=jwvlkp7b6p8.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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).