comparison tests/test-pull-permission @ 1244:937ee88da3ef

clone: fall back to pull if we can't lock the source repo
author mpm@selenic.com
date Wed, 14 Sep 2005 15:48:34 -0500
parents
children 955a7caf005c
comparison
equal deleted inserted replaced
1243:9d10f89b75a5 1244:937ee88da3ef
1 #!/bin/sh
2
3 mkdir a
4 cd a
5 hg init
6 echo foo > b
7 hg add b
8 hg ci -m "b" -d "0 0"
9
10 chmod -w .hg
11
12 cd ..
13
14 hg clone a b
15 cd b
16 hg verify
17
18 cd ..
19
20 chmod +w a/.hg # let test clean up