Avoid using subr-x function
* lisp/vc/vc-hg.el (vc-hg-retrieve-tag): Avoid using subr-x function (bug#38216).
This commit is contained in:
parent
fb3dea96b7
commit
3495cefcf6
1 changed files with 2 additions and 1 deletions
|
@ -578,7 +578,8 @@ 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" (unless (string-empty-p name) name))
|
||||
(vc-hg-command nil 0 nil "update" (and (not (equal name ""))
|
||||
name))
|
||||
;; TODO: update *vc-change-log* buffer so can see @ if --graph
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue