Remove -C alias for --cwd
authormpm@selenic.com
Fri, 19 Aug 2005 16:51:44 -0800
changeset 955 307ca8ca234f
parent 954 f179a3a4af3c
child 956 16c8b36fd3c1
Remove -C alias for --cwd
contrib/mercurial.el
mercurial/commands.py
--- a/contrib/mercurial.el	Fri Aug 19 16:46:31 2005 -0800
+++ b/contrib/mercurial.el	Fri Aug 19 16:51:44 2005 -0800
@@ -570,7 +570,7 @@
   (let ((root (hg-root)))
     (hg-view-output (hg-output-buffer-name)
       (apply 'call-process (hg-binary) nil t nil
-	     (list "-C" root "status" path)))))
+	     (list "--cwd" root "status" path)))))
 
 (defun hg-undo ()
   (interactive)
--- a/mercurial/commands.py	Fri Aug 19 16:46:31 2005 -0800
+++ b/mercurial/commands.py	Fri Aug 19 16:51:44 2005 -0800
@@ -1404,7 +1404,7 @@
               ('', 'debug', None, 'debug mode'),
               ('q', 'quiet', None, 'quiet mode'),
               ('', 'profile', None, 'profile'),
-              ('C', 'cwd', '', 'change working directory'),
+              ('', 'cwd', '', 'change working directory'),
               ('R', 'repository', "", 'repository root directory'),
               ('', 'traceback', None, 'print traceback on exception'),
               ('y', 'noninteractive', None, 'run non-interactively'),