mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
lisp/vc/vc-hg.el: Don't pass empty string to hg update
* lisp/vc/vc-hg.el (vc-hg-retrieve-tag): Don't pass empty name to `hg update` (bug#38216).
This commit is contained in:
parent
35ab18c03c
commit
3db1de0452
1 changed files with 1 additions and 1 deletions
|
|
@ -578,7 +578,7 @@ Optional arg REVISION is a revision to annotate from."
|
|||
(defun vc-hg-retrieve-tag (dir name _update)
|
||||
"Retrieve the version tagged by NAME of all registered files at or below DIR."
|
||||
(let ((default-directory dir))
|
||||
(vc-hg-command nil 0 nil "update" name)
|
||||
(vc-hg-command nil 0 nil "update" (unless (string-empty-p name) name))
|
||||
;; TODO: update *vc-change-log* buffer so can see @ if --graph
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue