1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(vc-hg-rename-file): Fix argument order.

This commit is contained in:
Sam Steingold 2008-04-28 19:56:43 +00:00
parent 586b90f1ff
commit bfd5773194
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-04-28 Sam Steingold <sds@gnu.org>
* vc-hg.el (vc-hg-rename-file): Fix argument order.
2008-04-28 Bastien Guerry <bzg@altern.org>
* whitespace.el (whitespace-trailing): Fix typo.

View File

@ -390,7 +390,7 @@ Optional arg REVISION is a revision to annotate from."
;; Modelled after the similar function in vc-bzr.el
(defun vc-hg-rename-file (old new)
"Rename file from OLD to NEW using `hg mv'."
(vc-hg-command nil 0 new old "mv"))
(vc-hg-command nil 0 new "mv" old))
(defun vc-hg-register (files &optional rev comment)
"Register FILES under hg.