##// END OF EJS Templates
tests: unify test-lock-badness
Adrian Buehlmann -
r12071:45ff6dcf default
parent child Browse files
Show More
@@ -1,11 +1,21 b''
1 #!/bin/sh
1 $ hg init a
2 $ echo a > a/a
3 $ hg -R a ci -A -m a
4 adding a
5
6 $ hg clone a b
7 updating to branch default
8 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
2
9
3 hg init a
10 $ echo b > b/b
4 echo a > a/a
11 $ hg -R b ci -A -m b
5 hg --cwd a ci -A -m a
12 adding b
6 hg clone a b
13
7 echo b > b/b
14 $ chmod 100 a/.hg/store
8 hg --cwd b ci -A -m b
15
9 chmod 100 a/.hg/store
16 $ hg -R b push a
10 hg --cwd b push ../a
17 pushing to a
11 chmod 700 a/.hg/store
18 abort: could not lock repository a: Permission denied
19
20 $ chmod 700 a/.hg/store
21
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now