Fix previous -responsible-p change
* lisp/vc/vc-sccs.el (vc-sccs-responsible-p): * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Make the previous change work with relative file names, too.
This commit is contained in:
parent
370d4038c5
commit
06632fbaf8
3 changed files with 3 additions and 3 deletions
|
|
@ -313,7 +313,7 @@ to the CVS command."
|
|||
file
|
||||
(file-name-directory file))))
|
||||
(and (file-directory-p (expand-file-name "CVS" dir))
|
||||
dir)))
|
||||
(file-name-directory (expand-file-name "CVS" dir)))))
|
||||
|
||||
(defun vc-cvs-could-register (file)
|
||||
"Return non-nil if FILE could be registered in CVS.
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ to the RCS command."
|
|||
file
|
||||
(file-name-directory file))))
|
||||
(and (file-directory-p (expand-file-name "RCS" dir))
|
||||
dir)))
|
||||
(file-name-directory (expand-file-name "RCS" dir)))))
|
||||
|
||||
(defun vc-rcs-receive-file (file rev)
|
||||
"Implementation of receive-file for RCS."
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ to the SCCS command."
|
|||
;; TODO: check for all the patterns in vc-sccs-master-templates
|
||||
(or (and (file-directory-p
|
||||
(expand-file-name "SCCS" (file-name-directory file)))
|
||||
file)
|
||||
(file-name-directory file))
|
||||
(let ((dir (vc-sccs-search-project-dir (or (file-name-directory file) "")
|
||||
(file-name-nondirectory file))))
|
||||
(and (stringp dir)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue