diff lisp/vc-hg.el @ 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 2ecb2ea8d5b5
children ad6c174910db
line wrap: on
line diff
--- 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.