tests/test-commit
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 27 Oct 2005 13:40:56 -0700
changeset 1473 7d66ce9895fa
parent 1203 cb4c423cbb38
child 1488 08c7851969cc
permissions -rwxr-xr-x
make readconfig take a filename instead of a file pointer as argument catch parse error while reading a config file add a testcase for parse error

#!/bin/sh

hg init test
cd test
echo foo > foo
hg add foo
hg commit -d '0 0' -m commit-1
echo foo >> foo
hg commit -d '1 4444444' -m commit-3
hg commit -d '1	15.1' -m commit-4
hg commit -d 'foo bar' -m commit-5
hg commit -d ' 1 4444' -m commit-6
hg commit -d '111111111111 0' -m commit-7
exit 0