Show More
@@ -1,21 +1,22 | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | mkdir test |
|
3 | mkdir test | |
4 | cd test |
|
4 | cd test | |
5 | echo foo>foo |
|
5 | echo foo>foo | |
6 | hg init |
|
6 | hg init | |
7 | hg addremove |
|
7 | hg addremove | |
8 | hg commit -m 1 |
|
8 | hg commit -m 1 | |
9 | hg verify |
|
9 | hg verify | |
10 | hg serve -p 20059 > /dev/null & |
|
10 | hg serve -p 20059 > /dev/null & | |
|
11 | sleep 1 # wait for server to be started | |||
11 | cd .. |
|
12 | cd .. | |
12 |
|
13 | |||
13 | hg clone http://localhost:20059/ copy |
|
14 | hg clone http://localhost:20059/ copy | |
14 | cd copy |
|
15 | cd copy | |
15 | hg verify |
|
16 | hg verify | |
16 | hg co |
|
17 | hg co | |
17 | cat foo |
|
18 | cat foo | |
18 | hg manifest |
|
19 | hg manifest | |
19 | hg pull |
|
20 | hg pull | |
20 |
|
21 | |||
21 | kill $! |
|
22 | kill $! |
General Comments 0
You need to be logged in to leave comments.
Login now