comparison tests/test-confused-revert @ 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 30146be3437c
children 6c6c0e5595a2
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 foo > a 4 echo foo > 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 7
8 echo bar > b 8 echo bar > b
9 hg add b 9 hg add b
10 hg remove a 10 hg remove a
11 11
20 20
21 rm b 21 rm b
22 22
23 hg co -C 0 23 hg co -C 0
24 echo foo-a > a 24 echo foo-a > a
25 hg commit -m "2a" -d "0 0" 25 hg commit -m "2a" -d "1000000 0"
26 26
27 hg co -C 0 27 hg co -C 0
28 echo foo-b > a 28 echo foo-b > a
29 hg commit -m "2b" -d "0 0" 29 hg commit -m "2b" -d "1000000 0"
30 30
31 HGMERGE=true hg update -m 1 31 HGMERGE=true hg update -m 1
32 32
33 echo "%%% should show foo-b" 33 echo "%%% should show foo-b"
34 cat a 34 cat a