diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f0fe4f3c4d..c99446f1e4a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-04-28 Sam Steingold + + * vc-hg.el (vc-hg-rename-file): Fix argument order. + 2008-04-28 Bastien Guerry * whitespace.el (whitespace-trailing): Fix typo. diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index c9cfc8eff61..7755e92dbc4 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el @@ -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.