summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-bzr.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2020-06-15 08:56:11 +0200
committerTassilo Horn <tsdh@gnu.org>2020-06-15 08:56:11 +0200
commit2e80328ba683e6205cd65bd3fb69da2563183e66 (patch)
tree502f9c2c403f784b3d73c2da47e291eef1f2e4ac /lisp/vc/vc-bzr.el
parent4f92cf14f395577572d451c0488ade952bc3cbaa (diff)
downloademacs-2e80328ba683e6205cd65bd3fb69da2563183e66.tar.gz
Add optional remote-name argument to VC repository-url command
* lisp/vc/vc.el: Document new remote-name argument of VC repository-url command. * lisp/vc/vc-git.el (vc-git-repository-url): Add and use new arg. * lisp/vc/vc-hg.el (vc-hg-repository-url): Add and use new arg. * lisp/vc/vc-bzr.el (vc-bzr-repository-url): Add new arg but ignore it. * lisp/vc/vc-svn.el (vc-svn-repository-url): Add new arg but ignore it.
Diffstat (limited to 'lisp/vc/vc-bzr.el')
-rw-r--r--lisp/vc/vc-bzr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index 21c7e7cfab1..f98730ed221 100644
--- a/lisp/vc/vc-bzr.el
+++ b/lisp/vc/vc-bzr.el
@@ -1316,7 +1316,7 @@ stream. Standard error output is discarded."
vc-bzr-revision-keywords))
string pred)))))
-(defun vc-bzr-repository-url (file-or-dir)
+(defun vc-bzr-repository-url (file-or-dir &optional _remote-name)
(let ((default-directory (vc-bzr-root file-or-dir)))
(with-temp-buffer
(vc-bzr-command "info" (current-buffer) 0 nil)