1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

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

View file

@ -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)