comparison tests/test-copy @ 1933:7544700fd931

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.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 13 Mar 2006 13:05:41 +0100
parents ba198d17eea9
children b72562060e45
comparison
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
1 #!/bin/sh 1 #!/bin/sh
2 2
3 hg init 3 hg init
4 echo a > a 4 echo a > a
5 hg add a 5 hg add a
6 hg commit -m "1" -d "0 0" 6 hg commit -m "1" -d "1000000 0"
7 hg status 7 hg status
8 hg copy a b 8 hg copy a b
9 hg status 9 hg status
10 hg --debug commit -m "2" -d "0 0" 10 hg --debug commit -m "2" -d "1000000 0"
11 echo "we should see two history entries" 11 echo "we should see two history entries"
12 hg history -v 12 hg history -v
13 echo "we should see one log entry for a" 13 echo "we should see one log entry for a"
14 hg log a 14 hg log a
15 echo "this should show a revision linked to changeset 0" 15 echo "this should show a revision linked to changeset 0"