Mercurial > hg
annotate tests/test-alias.out @ 9469:7f0f882af23d
config: abort on indented non-continuation lines (issue1829)
Previously, as soon as a continuation would be met, "cont" would stay
forever set to True, but "item" was set back to "None".
This caused the continuation code bits to run every time, until the next
"self.get(section, item) + '\n'" which would crash.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sat, 12 Sep 2009 11:17:07 +0200 |
parents | 21688b8a594b |
children | 8bce1e0d2801 |
rev | line source |
---|---|
4801 | 1 % basic |
2 % unknown | |
8655 | 3 alias 'unknown' resolves to unknown command 'bargle' |
4801 | 4 % ambiguous |
8655 | 5 alias 'ambiguous' resolves to ambiguous command 's' |
4801 | 6 % recursive |
8655 | 7 alias 'recursive' resolves to unknown command 'recursive' |
8 % no definition | |
9 no definition for alias 'nodefinition' | |
4801 | 10 adding foo |
11 % with opts | |
5764
8a5d8fb59ed2
Backed out changeset c2a21fe60994
Matt Mackall <mpm@selenic.com>
parents:
5762
diff
changeset
|
12 C foo |
8519
5fbee915ea5d
alias: a0104303f400 did not correctly handle whitespace in the args
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8477
diff
changeset
|
13 % with opts and whitespace |
5fbee915ea5d
alias: a0104303f400 did not correctly handle whitespace in the args
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8477
diff
changeset
|
14 0 e63c23eaa88a | 1970-01-01 00:00 +0000 |
8477
a0104303f400
alias: honor the [defaults] section, fix issue1642
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
5764
diff
changeset
|
15 % interaction with defaults |
a0104303f400
alias: honor the [defaults] section, fix issue1642
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
5764
diff
changeset
|
16 0:e63c23eaa88a |
a0104303f400
alias: honor the [defaults] section, fix issue1642
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
5764
diff
changeset
|
17 -1:000000000000 |
8655 | 18 % properly recursive |
19 changeset: -1:0000000000000000000000000000000000000000 | |
20 parent: -1:0000000000000000000000000000000000000000 | |
21 parent: -1:0000000000000000000000000000000000000000 | |
22 manifest: -1:0000000000000000000000000000000000000000 | |
23 user: | |
24 date: Thu Jan 01 00:00:00 1970 +0000 | |
25 extra: branch=default | |
26 |