changeset 37051:92a0a59a48ee

(vc-sccs-register): Use relative file names.
author André Spiegel <spiegel@gnu.org>
date Thu, 29 Mar 2001 11:49:22 +0000
parents 26cc1684baff
children 9131cdd6fa7f
files lisp/vc-sccs.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-sccs.el	Thu Mar 29 10:35:51 2001 +0000
+++ b/lisp/vc-sccs.el	Thu Mar 29 11:49:22 2001 +0000
@@ -5,7 +5,7 @@
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc-sccs.el,v 1.9 2001/02/01 17:42:44 fx Exp $
+;; $Id: vc-sccs.el,v 1.10 2001/03/10 10:51:22 spiegel Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -174,12 +174,11 @@
       (let ((vc-name
 	     (or project-file
 		 (format (car vc-sccs-master-templates) dirname basename)))|)
-	(apply 'vc-do-command nil 0 "admin" nil
+	(apply 'vc-do-command nil 0 "admin" vc-name
 	       (and rev (concat "-r" rev))
 	       "-fb"
-	       (concat "-i" file)
+	       (concat "-i" (file-relative-name file))
 	       (and comment (concat "-y" comment))
-	       vc-name
 	       switches))
       (delete-file file)
       (if vc-keep-workfiles