From bfd5773194efcceb088b052ff01a52c49eeccd13 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Mon, 28 Apr 2008 19:56:43 +0000 Subject: [PATCH] (vc-hg-rename-file): Fix argument order. --- lisp/ChangeLog | 4 ++++ lisp/vc-hg.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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.