Mercurial > hg
view tests/test-mq-qpush-fail.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 | 801cacf46e62 |
children | 561ff8d9e4f0 07a62819b309 |
line wrap: on
line source
adding foo % test qpush on empty series no patches in series patch queue now empty applying patch1 applying patch2 applying bad-patch transaction abort! rollback completed cleaning up working directory...done abort: decoding near 'é': 'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)! changeset: 0:bbd179dfa0a7 tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: add foo % bar should be gone; other unknown/ignored files should still be around ? untracked-file I .hgignore C foo % preparing qpush of a missing patch no patches applied applying patch1 now at: patch1 % now we expect the push to fail, but it should NOT complain about patch1 applying patch2 unable to read patch2 now at: patch1