tests/test-issue352
author Brendan Cully <brendan@kublai.com>
Tue, 10 Jul 2007 10:06:24 -0700
changeset 4863 6dc0094c0827
parent 4292 b90e323a4781
child 5075 2184378b20b5
permissions -rwxr-xr-x
archive: abort on empty repository. Fixes #624.

#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue352

hg init foo
cd foo

A=`printf 'he\rllo'`

echo foo > "$A"
hg add
hg ci -A -m m
rm "$A"

echo foo > "hell
o"
hg add
hg ci -A -m m

echo foo > "$A"
hg debugwalk

exit 0