summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-bzr.el
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-10-06 16:54:02 +0200
committerPhilip Kaludercic <philipk@posteo.net>2022-10-06 22:03:15 +0200
commit3d0ab51826b077ae13a022c9d80df606f1a03454 (patch)
tree340e2a23b9493a5fa91bc00b392ff12196b0ae49 /lisp/vc/vc-bzr.el
parentdaab6c16aa25f81f76bf89860872b9e3b36ca852 (diff)
downloademacs-3d0ab51826b077ae13a022c9d80df606f1a03454.tar.gz
* lisp/vc/vc-bzr.el (vc-bzr-clone): Add 'clone' implementation
Diffstat (limited to 'lisp/vc/vc-bzr.el')
-rw-r--r--lisp/vc/vc-bzr.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index f6b17d4ce09..743ee237a0f 100644
--- a/lisp/vc/vc-bzr.el
+++ b/lisp/vc/vc-bzr.el
@@ -532,6 +532,9 @@ in the branch repository (or whose status not be determined)."
(add-hook 'after-save-hook #'vc-bzr-resolve-when-done nil t)
(vc-message-unresolved-conflicts buffer-file-name)))
+(defun vc-bzr-clone (remote directory)
+ (vc-bzr-command nil 0 '() "branch" remote directory))
+
(defun vc-bzr-version-dirstate (dir)
"Try to return as a string the bzr revision ID of directory DIR.
This uses the dirstate file's parent revision entry.