tests/test-commit
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 01 Dec 2005 10:51:45 -0600
changeset 1568 1d7d0c07e8f3
parent 1488 08c7851969cc
child 1933 7544700fd931
permissions -rwxr-xr-x
make all commands be repo-wide by default - refactor code in commands.py so that: if no pattern is given, the command will be repo-wide else it will work on the working dir - update the doc - fix the tests

#!/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

echo bar > bar
hg add bar
rm bar
hg commit -d "0 0" -m commit-8 2>&1 | sed -e "s:/.*\(/test/.*\):...\1:"
exit 0