550
|
1 |
+ hg clone a b
|
642
|
2 |
abort: repository a/.hg not found!
|
550
|
3 |
+ echo 255
|
|
4 |
255
|
|
5 |
+ hg clone http://127.0.0.1:3121/a b
|
|
6 |
requesting all changes
|
|
7 |
abort: error 111: Connection refused
|
|
8 |
+ echo 255
|
|
9 |
255
|
|
10 |
+ rm -rf b
|
|
11 |
+ mkdir a
|
|
12 |
+ chmod 000 a
|
|
13 |
+ hg clone a b
|
642
|
14 |
abort: repository a/.hg not found!
|
550
|
15 |
+ echo 255
|
|
16 |
255
|
|
17 |
+ mkdir b
|
|
18 |
+ cd b
|
|
19 |
+ hg init
|
|
20 |
+ hg clone . ../a
|
|
21 |
abort: destination '../a' already exists
|
|
22 |
+ echo 1
|
|
23 |
1
|
|
24 |
+ cd ..
|
|
25 |
+ chmod 700 a
|
|
26 |
+ rm -rf a b
|
|
27 |
+ mkfifo a
|
|
28 |
+ hg clone a b
|
642
|
29 |
abort: repository a/.hg not found!
|
550
|
30 |
+ echo 255
|
|
31 |
255
|
|
32 |
+ rm a
|
|
33 |
+ mkdir q
|
|
34 |
+ cd q
|
|
35 |
+ hg init
|
|
36 |
+ cd ..
|
|
37 |
+ hg clone q
|
|
38 |
abort: destination 'q' already exists
|
|
39 |
+ true
|