equal
deleted
inserted
replaced
117 abort: error in definition for alias 'noclosingquotation': No closing quotation |
117 abort: error in definition for alias 'noclosingquotation': No closing quotation |
118 [255] |
118 [255] |
119 $ hg help noclosing |
119 $ hg help noclosing |
120 error in definition for alias 'noclosingquotation': No closing quotation |
120 error in definition for alias 'noclosingquotation': No closing quotation |
121 |
121 |
|
122 "--" in alias definition should be preserved |
|
123 |
|
124 $ hg --config alias.dash='cat --' -R alias dash -r0 |
|
125 abort: -r0 not under root '$TESTTMP/alias' |
|
126 (consider using '--cwd alias') |
|
127 [255] |
122 |
128 |
123 invalid options |
129 invalid options |
124 |
130 |
125 $ hg no--cwd |
131 $ hg no--cwd |
126 abort: error in definition for alias 'no--cwd': --cwd may only be given on the command line |
132 abort: error in definition for alias 'no--cwd': --cwd may only be given on the command line |
145 $ hg help no--repository |
151 $ hg help no--repository |
146 error in definition for alias 'no--repository': --repository may only be given |
152 error in definition for alias 'no--repository': --repository may only be given |
147 on the command line |
153 on the command line |
148 $ hg no--config |
154 $ hg no--config |
149 abort: error in definition for alias 'no--config': --config may only be given on the command line |
155 abort: error in definition for alias 'no--config': --config may only be given on the command line |
|
156 [255] |
|
157 $ hg no --config alias.no='--repo elsewhere --cwd elsewhere status' |
|
158 abort: error in definition for alias 'no': --repo/--cwd may only be given on the command line |
|
159 [255] |
|
160 $ hg no --config alias.no='--repo elsewhere' |
|
161 abort: error in definition for alias 'no': --repo may only be given on the command line |
150 [255] |
162 [255] |
151 |
163 |
152 optional repository |
164 optional repository |
153 |
165 |
154 #if no-outer-repo |
166 #if no-outer-repo |
349 $ hg --cwd .. count 'branch(default)' |
361 $ hg --cwd .. count 'branch(default)' |
350 2 |
362 2 |
351 $ hg echoall --cwd .. |
363 $ hg echoall --cwd .. |
352 |
364 |
353 |
365 |
|
366 "--" passed to shell alias should be preserved |
|
367 |
|
368 $ hg --config alias.printf='!printf "$@"' printf '%s %s %s\n' -- --cwd .. |
|
369 -- --cwd .. |
354 |
370 |
355 repo specific shell aliases |
371 repo specific shell aliases |
356 |
372 |
357 $ cat >> .hg/hgrc <<EOF |
373 $ cat >> .hg/hgrc <<EOF |
358 > [alias] |
374 > [alias] |