view tests/test-hg-parseurl.py.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 29bc5d18714a
children d757bc0c7865
line wrap: on
line source

http://example.com/no/anchor, revs: None, checkout: None
http://example.com/an/anchor, revs: ['foo'], checkout: 'foo'
http://example.com/no/anchor/revs, revs: ['foo'], checkout: 'foo'
http://example.com/an/anchor/revs, revs: ['foo', 'bar'], checkout: 'foo'
http://example.com/an/anchor/rev-None, revs: ['foo'], checkout: 'foo'