comparison tests/test-flags @ 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 7d83a351a936
children e506c14382fd
comparison
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
5 cd test1 5 cd test1
6 6
7 hg init 7 hg init
8 touch a b 8 touch a b
9 hg add a b 9 hg add a b
10 hg ci -m "added a b" -d "0 0" 10 hg ci -m "added a b" -d "1000000 0"
11 11
12 cd .. 12 cd ..
13 mkdir test2 13 mkdir test2
14 cd test2 14 cd test2
15 15
16 hg init 16 hg init
17 hg pull ../test1 17 hg pull ../test1
18 hg co 18 hg co
19 chmod +x a 19 chmod +x a
20 hg ci -m "chmod +x a" -d "0 0" 20 hg ci -m "chmod +x a" -d "1000000 0"
21 21
22 cd ../test1 22 cd ../test1
23 echo 123 >>a 23 echo 123 >>a
24 hg ci -m "a updated" -d "0 0" 24 hg ci -m "a updated" -d "1000000 0"
25 25
26 hg pull ../test2 26 hg pull ../test2
27 hg heads 27 hg heads
28 hg history 28 hg history
29 29