##// END OF EJS Templates
dispatch: lowercase abort message
Martin Geisler -
r15781:cc2da4a5 default
parent child Browse files
Show More
@@ -583,7 +583,7 b' def _dispatch(req):'
583 raise util.Abort(_("option --cwd may not be abbreviated!"))
583 raise util.Abort(_("option --cwd may not be abbreviated!"))
584 if options["repository"]:
584 if options["repository"]:
585 raise util.Abort(_(
585 raise util.Abort(_(
586 "Option -R has to be separated from other options (e.g. not -qR) "
586 "option -R has to be separated from other options (e.g. not -qR) "
587 "and --repository may only be abbreviated as --repo!"))
587 "and --repository may only be abbreviated as --repo!"))
588
588
589 if options["encoding"]:
589 if options["encoding"]:
@@ -136,16 +136,16 b' earlygetopt with illegal abbreviations:'
136 abort: option --cwd may not be abbreviated!
136 abort: option --cwd may not be abbreviated!
137 [255]
137 [255]
138 $ hg --rep a tip
138 $ hg --rep a tip
139 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
139 abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
140 [255]
140 [255]
141 $ hg --repositor a tip
141 $ hg --repositor a tip
142 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
142 abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
143 [255]
143 [255]
144 $ hg -qR a tip
144 $ hg -qR a tip
145 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
145 abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
146 [255]
146 [255]
147 $ hg -qRa tip
147 $ hg -qRa tip
148 abort: Option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
148 abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
149 [255]
149 [255]
150
150
151 Testing --cwd:
151 Testing --cwd:
General Comments 0
You need to be logged in to leave comments. Login now