aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Spiegel2001-03-29 11:49:22 +0000
committerAndré Spiegel2001-03-29 11:49:22 +0000
commit0cccd8ffec07bb40d4a11888f7643eb94f9a020f (patch)
tree5f08fab9170ac55091207ff01c47ba0177e2e5ee
parent176bc847137c3c61c2fc03edc9293aa3d2fb8548 (diff)
downloademacs-0cccd8ffec07bb40d4a11888f7643eb94f9a020f.tar.gz
emacs-0cccd8ffec07bb40d4a11888f7643eb94f9a020f.zip
(vc-sccs-register): Use relative file names.
-rw-r--r--lisp/vc-sccs.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el
index bf2bf48430b..2eb66b9f2e7 100644
--- a/lisp/vc-sccs.el
+++ b/lisp/vc-sccs.el
@@ -5,7 +5,7 @@
5;; Author: FSF (see vc.el for full credits) 5;; Author: FSF (see vc.el for full credits)
6;; Maintainer: Andre Spiegel <spiegel@gnu.org> 6;; Maintainer: Andre Spiegel <spiegel@gnu.org>
7 7
8;; $Id: vc-sccs.el,v 1.9 2001/02/01 17:42:44 fx Exp $ 8;; $Id: vc-sccs.el,v 1.10 2001/03/10 10:51:22 spiegel Exp $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -174,12 +174,11 @@ expanded if `vc-keep-workfiles' is non-nil, otherwise, delete the workfile."
174 (let ((vc-name 174 (let ((vc-name
175 (or project-file 175 (or project-file
176 (format (car vc-sccs-master-templates) dirname basename)))|) 176 (format (car vc-sccs-master-templates) dirname basename)))|)
177 (apply 'vc-do-command nil 0 "admin" nil 177 (apply 'vc-do-command nil 0 "admin" vc-name
178 (and rev (concat "-r" rev)) 178 (and rev (concat "-r" rev))
179 "-fb" 179 "-fb"
180 (concat "-i" file) 180 (concat "-i" (file-relative-name file))
181 (and comment (concat "-y" comment)) 181 (and comment (concat "-y" comment))
182 vc-name
183 switches)) 182 switches))
184 (delete-file file) 183 (delete-file file)
185 (if vc-keep-workfiles 184 (if vc-keep-workfiles