Show More
@@ -583,7 +583,7 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 |
" |
|
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 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: |
|
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: |
|
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: |
|
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: |
|
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