mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
Make sure all backends support vc-BACKEND-root.
* vc-hooks.el (vc-find-root): Take optional arg INVERT. If non-nil, reverse the sense of the check. * vc-rcs.el (vc-rcs-root): New func. * vc-cvs.el (vc-cvs-root): New func. * vc-svn.el (vc-svn-root): New func.
This commit is contained in:
parent
72c70417d3
commit
b038f9fb95
5 changed files with 35 additions and 8 deletions
|
|
@ -532,6 +532,9 @@ NAME is assumed to be a URL."
|
|||
:type 'string
|
||||
:group 'vc)
|
||||
|
||||
(defun vc-svn-root (dir)
|
||||
(vc-find-root dir vc-svn-admin-directory t))
|
||||
|
||||
(defun vc-svn-command (buffer okstatus file-or-list &rest flags)
|
||||
"A wrapper around `vc-do-command' for use in vc-svn.el.
|
||||
The difference to vc-do-command is that this function always invokes `svn',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue