tests/test-remove-new
author Martin Geisler <mg@aragost.com>
Wed, 11 Aug 2010 12:19:01 +0200
branchstable
changeset 11776 13921a1af02b
parent 11346 e740f36cfb4b
permissions -rwxr-xr-x
graphlog: mark --branch as incompatible with --graph The --only-branch option was deprecated in 0d5f139b23c1 and --branch was added instead. But the graphlog extension was not updated to match the change.

#!/bin/sh

# test that 'hg commit' does not crash if the user removes a 
# newly added file

hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
touch b
hg add b
rm b
hg commit -A -m"comment #1" -d "1000000 0"
exit 0