]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-bzr.el (vc-bzr-clone): Add 'clone' implementation
authorPhilip Kaludercic <philipk@posteo.net>
Thu, 6 Oct 2022 14:54:02 +0000 (16:54 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Thu, 6 Oct 2022 20:03:15 +0000 (22:03 +0200)
lisp/vc/vc-bzr.el

index f6b17d4ce090161ded62f28ab38debd6e26a9bbb..743ee237a0fdf9809b173780f0f0cf7f595ececd 100644 (file)
@@ -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.