emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#5181: closed ([PATCH] vc-revert-file: fix settin


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#5181: closed ([PATCH] vc-revert-file: fix setting of file time-stamp into the past.)
Date: Wed, 13 Jul 2011 07:58:02 +0000

Your message dated Wed, 13 Jul 2011 03:57:01 -0400
with message-id <address@hidden>
and subject line Re: bug#5181: [PATCH] vc-revert-file: fix setting of file 
time-stamp into the past.
has caused the GNU bug report #5181,
regarding [PATCH] vc-revert-file: fix setting of file time-stamp into the past.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
5181: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5181
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] vc-revert-file: fix setting of file time-stamp into the past. Date: Fri, 11 Dec 2009 19:12:39 +0300 User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
The patch below fixes a long-standing bug in the VC, described here:

<http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-05/msg00312.html>

2009-12-11  Sergei Organov  <address@hidden>

        * vc.el (vc-revert-file): Fix setting of file time-stamp into the
        past.

Index: lisp/vc.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc.el,v
retrieving revision 1.746
diff -u -r1.746 vc.el
--- lisp/vc.el  7 Dec 2009 09:02:16 -0000       1.746
+++ lisp/vc.el  11 Dec 2009 16:03:12 -0000
@@ -2114,7 +2114,7 @@
    (list file)
    (let ((backup-file (vc-version-backup-file file)))
      (when backup-file
-       (copy-file backup-file file 'ok-if-already-exists 'keep-date)
+       (copy-file backup-file file 'ok-if-already-exists)
        (vc-delete-automatic-version-backups file))
      (vc-call revert file backup-file))
    `((vc-state . up-to-date)



--- End Message ---
--- Begin Message --- Subject: Re: bug#5181: [PATCH] vc-revert-file: fix setting of file time-stamp into the past. Date: Wed, 13 Jul 2011 03:57:01 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.1

Thank you; applied.


--- End Message ---

reply via email to

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