view tests/test-revlog-group-emptyiter @ 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 aaaf4af1c173
children
line wrap: on
line source

#! /bin/sh

# issue 1678

echo "# -- setting up base repo"
hg init a
cd a
touch a
hg ci -Am a
cd ..

echo "# -- cloning base repo"
hg clone a b
cd b

echo "# -- setting up cset to push"
hg up null
touch a
hg ci -Am b # different msg so we get a clog new entry

echo "# -- pushing"
hg push -f ../a