From: Simon Josefsson <jas@extundo.com>
Subject: C-x v u via *.~REV.~ reset file date to 1970-01-01
Date: Tue, 26 Aug 2003 04:26:39 +0200 [thread overview]
Message-ID: <ilu4r056tnk.fsf@latte.josefsson.org> (raw)
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:
jas@latte:~/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.~
jas@latte:~/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.
next reply other threads:[~2003-08-26 2:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-26 2:26 Simon Josefsson [this message]
2003-08-26 4:01 ` C-x v u via *.~REV.~ reset file date to 1970-01-01 Andre Spiegel
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=ilu4r056tnk.fsf@latte.josefsson.org \
--to=jas@extundo.com \
/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).