all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andre Spiegel <spiegel@gnu.org>
Subject: Re: C-x v u via *.~REV.~ reset file date to 1970-01-01
Date: Tue, 26 Aug 2003 06:01:11 +0200	[thread overview]
Message-ID: <1061870470.794.59.camel@localhost> (raw)
In-Reply-To: <ilu4r056tnk.fsf@latte.josefsson.org>

On Tue, 2003-08-26 at 04:26, Simon Josefsson wrote:

> 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$ 

I see this on my system (Debian) too, but it's clearly an error.  VC
creates the backup file using copy-file with KEEP-TIME non-nil
(vc-hooks.el, line 594).  The doc string of copy-file does mention that
KEEP-TIME doesn't work on all systems, but I would assume GNU/Linux is
not one of them, and even if it doesn't work on a system, 1970-01-01 is
clearly not an acceptable date.

Something must be broken in copy-file, fileio.c.  Ken Raeburn's change
of 2002-07-15 (version 1.454) may be a candidate, since it's the last
time the keep-time stuff was changed, but I'm not knowledgable in this
area.  Could somebody else please have a look?

      reply	other threads:[~2003-08-26  4:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-26  2:26 C-x v u via *.~REV.~ reset file date to 1970-01-01 Simon Josefsson
2003-08-26  4:01 ` Andre Spiegel [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=1061870470.794.59.camel@localhost \
    --to=spiegel@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 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.