Show More
@@ -4,32 +4,31 b' hg init test' | |||||
4 | cd test |
|
4 | cd test | |
5 | echo foo>foo |
|
5 | echo foo>foo | |
6 | hg commit -A -d '0 0' -m 1 |
|
6 | hg commit -A -d '0 0' -m 1 | |
7 | hg --config server.uncompressed=True serve -p 20059 -d --pid-file=hg1.pid |
|
7 | hg --config server.uncompressed=True serve -p 20059 -d --pid-file=../hg1.pid | |
8 | cat hg1.pid >> $DAEMON_PIDS |
|
8 | hg serve -p 20060 -d --pid-file=../hg2.pid | |
9 | hg serve -p 20060 -d --pid-file=hg2.pid |
|
|||
10 | cat hg2.pid >> $DAEMON_PIDS |
|
|||
11 | cd .. |
|
9 | cd .. | |
|
10 | cat hg1.pid hg2.pid >> $DAEMON_PIDS | |||
12 |
|
11 | |||
13 | echo % clone via stream |
|
12 | echo % clone via stream | |
14 | http_proxy= hg clone --uncompressed http://localhost:20059/ copy 2>&1 | \ |
|
13 | http_proxy= hg clone --uncompressed http://localhost:20059/ copy 2>&1 | \ | |
15 | sed -e 's/[0-9][0-9.]*/XXX/g' |
|
14 | sed -e 's/[0-9][0-9.]*/XXX/g' | |
16 | cd copy |
|
15 | hg verify -R copy | |
17 | hg verify |
|
|||
18 |
|
16 | |||
19 | echo % try to clone via stream, should use pull instead |
|
17 | echo % try to clone via stream, should use pull instead | |
20 | http_proxy= hg clone --uncompressed http://localhost:20060/ copy2 |
|
18 | http_proxy= hg clone --uncompressed http://localhost:20060/ copy2 | |
21 |
|
19 | |||
22 | echo % clone via pull |
|
20 | echo % clone via pull | |
23 | http_proxy= hg clone http://localhost:20059/ copy-pull |
|
21 | http_proxy= hg clone http://localhost:20059/ copy-pull | |
24 | cd copy-pull |
|
22 | hg verify -R copy-pull | |
25 | hg verify |
|
|||
26 |
|
23 | |||
27 | cd test |
|
24 | cd test | |
28 | echo bar > bar |
|
25 | echo bar > bar | |
29 | hg commit -A -d '1 0' -m 2 |
|
26 | hg commit -A -d '1 0' -m 2 | |
|
27 | cd .. | |||
30 |
|
28 | |||
31 | echo % pull |
|
29 | echo % pull | |
32 |
cd |
|
30 | cd copy-pull | |
33 | echo '[hooks]' >> .hg/hgrc |
|
31 | echo '[hooks]' >> .hg/hgrc | |
34 | echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc |
|
32 | echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc | |
35 | hg pull |
|
33 | hg pull | |
|
34 | cd .. |
@@ -28,9 +28,13 b' checking manifests' | |||||
28 | crosschecking files in changesets and manifests |
|
28 | crosschecking files in changesets and manifests | |
29 | checking files |
|
29 | checking files | |
30 | 1 files, 1 changesets, 1 total revisions |
|
30 | 1 files, 1 changesets, 1 total revisions | |
31 | /home/bos/hg/hg/hg-url/tests/test-http: line 27: cd: test: No such file or directory |
|
|||
32 | adding bar |
|
31 | adding bar | |
33 | % pull |
|
32 | % pull | |
|
33 | changegroup: u=http://localhost:20059/ | |||
34 | pulling from http://localhost:20059/ |
|
34 | pulling from http://localhost:20059/ | |
35 | searching for changes |
|
35 | searching for changes | |
36 | no changes found |
|
36 | adding changesets | |
|
37 | adding manifests | |||
|
38 | adding file changes | |||
|
39 | added 1 changesets with 1 changes to 1 files | |||
|
40 | (run 'hg update' to get a working copy) |
General Comments 0
You need to be logged in to leave comments.
Login now