##// END OF EJS Templates
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
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.

File last commit:

r1933:7544700f default
r1933:7544700f default
Show More
test-pull-permission
19 lines | 169 B | text/plain | TextLexer
/ tests / test-pull-permission
mpm@selenic.com
clone: fall back to pull if we can't lock the source repo
r1244 #!/bin/sh
mkdir a
cd a
hg init
echo foo > b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "b" -d "1000000 0"
mpm@selenic.com
clone: fall back to pull if we can't lock the source repo
r1244
chmod -w .hg
cd ..
hg clone a b
Benoit Boissinot
make test-pull-permission cleanup correctly in case of errors
r1750
chmod +w a/.hg # let test clean up
mpm@selenic.com
clone: fall back to pull if we can't lock the source repo
r1244 cd b
hg verify