diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-10-06 16:49:10 +0200 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-10-06 22:03:14 +0200 |
commit | daab6c16aa25f81f76bf89860872b9e3b36ca852 (patch) | |
tree | 0020370efb63b75eaeb375a5e58c2e27183f1c95 | |
parent | d5dbf0804c5a3025f7946991a39ec26c01f76212 (diff) | |
download | emacs-daab6c16aa25f81f76bf89860872b9e3b36ca852.tar.gz |
* lisp/vc/vc-hg.el (vc-hg-clone): Add 'clone' implementation
-rw-r--r-- | lisp/vc/vc-hg.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 61976288e35..a4ef7f35509 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el @@ -1249,6 +1249,8 @@ REV is the revision to check out into WORKFILE." (add-hook 'after-save-hook #'vc-hg-resolve-when-done nil t) (vc-message-unresolved-conflicts buffer-file-name))) +(defun vc-hg-clone (remote directory) + (vc-hg-command nil 0 '() "clone" remote directory)) ;; Modeled after the similar function in vc-bzr.el (defun vc-hg-revert (file &optional contents-done) |