changeset 94439:d6a121c992e3

(vc-hg-rename-file): Fix argument order.
author Sam Steingold <sds@gnu.org>
date Mon, 28 Apr 2008 19:56:43 +0000
parents c7097bdc1020
children e227f5ee58db
files lisp/ChangeLog lisp/vc-hg.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 28 19:40:43 2008 +0000
+++ b/lisp/ChangeLog	Mon Apr 28 19:56:43 2008 +0000
@@ -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.
--- a/lisp/vc-hg.el	Mon Apr 28 19:40:43 2008 +0000
+++ b/lisp/vc-hg.el	Mon Apr 28 19:56:43 2008 +0000
@@ -390,7 +390,7 @@
 ;; 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.