* lisp/vc/vc-bzr.el (vc-bzr-clone): Add 'clone' implementation

This commit is contained in:
Philip Kaludercic 2022-10-06 16:54:02 +02:00
parent daab6c16aa
commit 3d0ab51826
No known key found for this signature in database
GPG key ID: F2C3CC513DB89F66

View 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.