diff options
| author | Sam Steingold <sds@gnu.org> | 2008-04-28 19:56:43 +0000 |
|---|---|---|
| committer | Sam Steingold <sds@gnu.org> | 2008-04-28 19:56:43 +0000 |
| commit | bfd5773194efcceb088b052ff01a52c49eeccd13 (patch) | |
| tree | 614af5521828348c7fc0bbe69b65891919fc9844 | |
| parent | 586b90f1ff736f76d689639f04605e7626087b20 (diff) | |
| download | emacs-bfd5773194efcceb088b052ff01a52c49eeccd13.tar.gz | |
(vc-hg-rename-file): Fix argument order.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc-hg.el | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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. 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. |
