summaryrefslogtreecommitdiff
path: root/lisp/vc-hg.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2008-04-28 19:56:43 +0000
committerSam Steingold <sds@gnu.org>2008-04-28 19:56:43 +0000
commitbfd5773194efcceb088b052ff01a52c49eeccd13 (patch)
tree614af5521828348c7fc0bbe69b65891919fc9844 /lisp/vc-hg.el
parent586b90f1ff736f76d689639f04605e7626087b20 (diff)
downloademacs-bfd5773194efcceb088b052ff01a52c49eeccd13.tar.gz
(vc-hg-rename-file): Fix argument order.
Diffstat (limited to 'lisp/vc-hg.el')
-rw-r--r--lisp/vc-hg.el2
1 files changed, 1 insertions, 1 deletions
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.