changeset 32950:c558cd950ace

(vc-version-other-window): If an automatic backup of the desired version exists, rename it instead of copying it.
author André Spiegel <spiegel@gnu.org>
date Fri, 27 Oct 2000 12:13:19 +0000
parents 78fabc2762c4
children 92306ae7a88d
files lisp/vc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Fri Oct 27 12:11:55 2000 +0000
+++ b/lisp/vc.el	Fri Oct 27 12:13:19 2000 +0000
@@ -5,7 +5,7 @@
 ;; Author:     FSF (see below for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc.el,v 1.283 2000/10/26 12:38:02 fx Exp $
+;; $Id: vc.el,v 1.284 2000/10/26 20:53:11 monnier Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -1576,7 +1576,7 @@
          (manual-backup (vc-version-backup-file-name file version 'manual)))
     (unless (file-exists-p manual-backup)
       (if (file-exists-p automatic-backup)
-          (copy-file automatic-backup manual-backup nil 'keep-date)
+          (rename-file automatic-backup manual-backup nil)
         (vc-call checkout file nil version manual-backup)))
     (find-file-other-window manual-backup)))