contrib/mercurial.el
changeset 2877 0ffca0cb9f4b
parent 2737 a5c43944e1ee
child 2997 48baf9fb1921
--- a/contrib/mercurial.el	Sun Aug 13 18:01:44 2006 +0300
+++ b/contrib/mercurial.el	Sun Aug 13 20:21:13 2006 +0300
@@ -722,7 +722,7 @@
       (if (not hg-root-dir)
 	  (error "error: %s: directory is not part of a Mercurial repository."
 		 default-directory)
-	(cd (hg-root))))))
+	(cd hg-root-dir)))))
 
 (defun hg-add (path)
   "Add PATH to the Mercurial repository on the next commit.