Preserve time stamp of file when reverting to previous revision.
authorChris Hanson <org/chris-hanson/cph>
Mon, 16 Dec 1996 04:57:32 +0000 (04:57 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 16 Dec 1996 04:57:32 +0000 (04:57 +0000)
v7/src/edwin/vc.scm

index 3da4cac060df4470e61dea62695e8e889b4ed565..0549fec921e68530c8f1b90aaad0f49ce385a96b 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: vc.scm,v 1.24 1996/05/14 01:51:42 cph Exp $
+;;;    $Id: vc.scm,v 1.25 1996/12/16 04:57:32 cph Exp $
 ;;;
 ;;;    Copyright (c) 1994-96 Massachusetts Institute of Technology
 ;;;
@@ -1101,6 +1101,7 @@ the value of vc-log-mode-hook."
        (vc-run-command master 0 "co"
                        "-f"
                        (rcs-rev-switch "-u" revision)
+                       (rcs-mtime-switch master)
                        (vc-workfile-pathname master))))))
 
 (define-vc-type-operation 'CHECKIN vc-type:rcs