emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C-x v u via *.~REV.~ reset file date to 1970-01-01


From: Simon Josefsson
Subject: C-x v u via *.~REV.~ reset file date to 1970-01-01
Date: Tue, 26 Aug 2003 04:26:39 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Visit a file in CVS and type a SPC and then remove it and save the
file. VC generate a backup file dated 1970-01-01:

address@hidden:~/src/libidn$ ls -la Makefile.am*
-rw-r--r--    1 jas      staff        1959 2003-08-26 04:22 Makefile.am
-rw-r--r--    1 jas      staff        1959 1970-01-01 01:00 Makefile.am.~1.91.~
address@hidden:~/src/libidn$ 

If you then do C-x v u, Emacs move the backup file back to the
original, but keeps the file date.  BSD make seem to use time=0 to
mean that the file doesn't exist, so you get an error that the file
doesn't exist, which is rather confusing.

For CVS, why not use the file date stored in CVS/Entries?  It would be
even better than using current time, which otherwise would be one
solution.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]