comparison tests/test-tags @ 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 5a034646e472
children 719cf07b076d
comparison
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
4 cd t 4 cd t
5 hg init 5 hg init
6 hg id 6 hg id
7 echo a > a 7 echo a > a
8 hg add a 8 hg add a
9 hg commit -m "test" -d "0 0" 9 hg commit -m "test" -d "1000000 0"
10 hg co 10 hg co
11 hg identify 11 hg identify
12 T=`hg tip -v | head -n 1 | cut -d : -f 3` 12 T=`hg tip -v | head -n 1 | cut -d : -f 3`
13 echo "$T first" > .hgtags 13 echo "$T first" > .hgtags
14 cat .hgtags 14 cat .hgtags
15 hg add .hgtags 15 hg add .hgtags
16 hg commit -m "add tags" -d "0 0" 16 hg commit -m "add tags" -d "1000000 0"
17 hg tags 17 hg tags
18 hg identify 18 hg identify
19 echo bb > a 19 echo bb > a
20 hg status 20 hg status
21 hg identify 21 hg identify
23 hg id 23 hg id
24 hg -v id 24 hg -v id
25 hg status 25 hg status
26 echo 1 > b 26 echo 1 > b
27 hg add b 27 hg add b
28 hg commit -m "branch" -d "0 0" 28 hg commit -m "branch" -d "1000000 0"
29 hg id 29 hg id
30 hg co -m 1 30 hg co -m 1
31 hg id 31 hg id
32 hg status 32 hg status
33 33