;; 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.13 2001/08/28 17:05:55 spiegel Exp $
;; This file is part of GNU Emacs.
(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
switches)))))
(message "Checking out %s...done" filename)))
-(defun vc-sccs-revert (file)
+(defun vc-sccs-revert (file &optional contents-done)
"Revert FILE to the version it was based on."
(vc-do-command nil 0 "unget" (vc-name file))
(vc-do-command nil 0 "get" (vc-name file))
(append (list "-q"
(and oldvers (concat "-r" oldvers))
(and newvers (concat "-r" newvers)))
- (vc-diff-switches-list sccs))))
+ (vc-diff-switches-list 'SCCS))))
\f
;;;
(provide 'vc-sccs)
;;; vc-sccs.el ends here
-
-
-