From: André Spiegel Date: Wed, 21 May 1997 14:42:09 +0000 (+0000) Subject: (vc-backend-admin): If there is no SCCS subdirectory yet, create it. X-Git-Tag: emacs-20.1~2034 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1d713ef1e3ceb84375872513767ea82aafd36a5;p=emacs.git (vc-backend-admin): If there is no SCCS subdirectory yet, create it. --- diff --git a/lisp/vc.el b/lisp/vc.el index 5762cf4e605..d261692db04 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1957,6 +1957,9 @@ default directory." ((file-exists-p "CVS") 'CVS) (t vc-default-back-end)))) (cond ((eq backend 'SCCS) + ;; If there is no SCCS subdirectory yet, create it. + ;; (SCCS could do without it, but VC requires it to be there.) + (if (not (file-exists-p "SCCS")) (make-directory "SCCS")) (apply 'vc-do-command nil 0 "admin" file 'MASTER ;; SCCS (and rev (concat "-r" rev)) "-fb"