changeset 9451:3e673c988c85

commands: expand -c and -C in update error message
author Martin Geisler <mg@lazybytes.net>
date Thu, 17 Sep 2009 21:50:12 +0200
parents e78967d3dd6f
children c564dbb2a6d5 661bc51f09b7 a23ee0208f77
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Sep 17 21:34:05 2009 +0200
+++ b/mercurial/commands.py	Thu Sep 17 21:50:12 2009 +0200
@@ -3041,7 +3041,7 @@
         rev = node
 
     if check and clean:
-        raise util.Abort(_("cannot specify both -c and -C"))
+        raise util.Abort(_("cannot specify both -c/--check and -C/--clean"))
 
     if check:
         # we could use dirty() but we can ignore merge and branch trivia