From: Eli Zaretskii <eliz@gnu.org>
Cc: rudalics@gmx.at, emacs-devel@gnu.org
Subject: Re: vc-cvs-parse-entry
Date: Sat, 02 Sep 2006 15:32:23 +0300 [thread overview]
Message-ID: <u8xl2wiso.fsf@gnu.org> (raw)
In-Reply-To: <jwvfyfeosc5.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Wed, 30 Aug 2006 17:01:38 -0400)
> Cc: rudalics@gmx.at, emacs-devel@gnu.org
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Wed, 30 Aug 2006 17:01:38 -0400
>
> >> >> 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"
> > This is not really accurate, at least on newer versions of Windows;
> > see below.
>
> It may have been fixed since w98, but I'm pretty sure that's how w98 did it.
The NTFS filesystem stores file times in UTC, but other file systems
don't, even when the OS is Windows XP. See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/file_times.asp
> >> IIRC "cvs update" will fix things for you.
>
> > Yes, but it's _awfully_ slow. I needed to write a program to move the
> > files' last write timestamp by N hours, to avoid the resultant lossage
> > on Windows, whereby "cvs up" after a DST change can take _hours_
> > because each file is sent upstream due to the time mismatch.
>
> The "time mismatch" you see is in CVS, not in Emacs. vc-cvs.el suffers from
> the same time mismatch because it uses the same algorithm (except it's
> written in elisp instead of C).
Given that Emacs running on NTFS will (or at least could) see true UTC
file times, I don't see why it should see any mismatch whatsoever.
Perhaps someone who has a working vc-cvs setup on NTFS could see if
this problem still exists there.
> I don't think vc-cvs.el should try to be more clever than CVS
> itself.
I don't see why we should replicate problems with ported CVS clients.
> Note that if more recent versions of w32 fixed this problem, it should be
> fixed for both CVS and vc-cvs.el (and pcl-cvs ;-).
Only if the CVS client uses the right code to get the file times; see
the above URL for the gory details.
prev parent reply other threads:[~2006-09-02 12:32 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 ` vc-cvs-parse-entry Stefan Monnier
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 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u8xl2wiso.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.