##// END OF EJS Templates
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero. Some systems show "Thu Jan 01" instead of "Thu Jan 1", which breaks tests. Using "1000000" yields "Mon Jan 12 13:46:40 1970", which looks the same on all systems.

File last commit:

r1933:7544700f default
r1933:7544700f default
Show More
test-commit
19 lines | 407 B | text/plain | TextLexer
Bryan O'Sullivan
Make date/timezone validation in changelog.add more robust. Add test.
r1196 #!/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
Benoit Boissinot
only files in normal state should be marked as deleted...
r1488
echo bar > bar
hg add bar
rm bar
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -d "1000000 0" -m commit-8 2>&1 | sed -e "s:/.*\(/test/.*\):...\1:"
Bryan O'Sullivan
Get test-commit to exit cleanly.
r1203 exit 0