comparison tests/test-ssh @ 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 235e0effa672
children 70ba0c86da8b
comparison
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
24 24
25 echo "# creating 'remote'" 25 echo "# creating 'remote'"
26 hg init remote 26 hg init remote
27 cd remote 27 cd remote
28 echo this > foo 28 echo this > foo
29 hg ci -A -m "init" -d "0 0" foo 29 hg ci -A -m "init" -d "1000000 0" foo
30 30
31 cd .. 31 cd ..
32 32
33 echo "# clone remote" 33 echo "# clone remote"
34 hg clone -e ./dummyssh ssh://user@dummy/remote local 34 hg clone -e ./dummyssh ssh://user@dummy/remote local
41 hg paths 41 hg paths
42 hg pull -e ../dummyssh 42 hg pull -e ../dummyssh
43 43
44 echo "# local change" 44 echo "# local change"
45 echo bleah > foo 45 echo bleah > foo
46 hg ci -m "add" -d "0 0" 46 hg ci -m "add" -d "1000000 0"
47 47
48 echo "# updating rc" 48 echo "# updating rc"
49 echo "default-push = ssh://user@dummy/remote" >> .hg/hgrc 49 echo "default-push = ssh://user@dummy/remote" >> .hg/hgrc
50 echo "[ui]" >> .hg/hgrc 50 echo "[ui]" >> .hg/hgrc
51 echo "ssh = ../dummyssh" >> .hg/hgrc 51 echo "ssh = ../dummyssh" >> .hg/hgrc