Show More
@@ -1,30 +1,45 b'' | |||
|
1 | #!/bin/sh | |
|
2 | 1 | |
|
3 | cat <<EOF >> $HGRCPATH | |
|
4 | [extensions] | |
|
5 | schemes= | |
|
6 | ||
|
7 | [schemes] | |
|
8 | l = http://localhost:$HGPORT/ | |
|
9 | parts = http://{1}:$HGPORT/ | |
|
10 | z = file:\$PWD/ | |
|
11 | EOF | |
|
2 | $ cat <<EOF >> $HGRCPATH | |
|
3 | > [extensions] | |
|
4 | > schemes= | |
|
5 | > | |
|
6 | > [schemes] | |
|
7 | > l = http://localhost:$HGPORT/ | |
|
8 | > parts = http://{1}:$HGPORT/ | |
|
9 | > z = file:\$PWD/ | |
|
10 | > EOF | |
|
11 | $ hg init test | |
|
12 | $ cd test | |
|
13 | $ echo a > a | |
|
14 | $ hg ci -Am initial | |
|
15 | adding a | |
|
16 | $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
|
17 | $ cat hg.pid >> $DAEMON_PIDS | |
|
18 | $ hg incoming l:// | |
|
19 | comparing with l:// | |
|
20 | searching for changes | |
|
21 | no changes found | |
|
22 | [1] | |
|
12 | 23 | |
|
13 | hg init test | |
|
14 | cd test | |
|
15 | echo a > a | |
|
16 | hg ci -Am initial | |
|
24 | check that {1} syntax works | |
|
17 | 25 | |
|
18 | hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
|
19 | cat hg.pid >> $DAEMON_PIDS | |
|
26 | $ hg incoming --debug parts://localhost | |
|
27 | using http://localhost:*/ (glob) | |
|
28 | sending between command | |
|
29 | comparing with parts://localhost | |
|
30 | sending heads command | |
|
31 | searching for changes | |
|
32 | no changes found | |
|
33 | [1] | |
|
20 | 34 | |
|
21 | hg incoming l:// | |
|
22 | ||
|
23 | echo % check that {1} syntax works | |
|
24 | hg incoming --debug parts://localhost | sed 's/[0-9]//g' | |
|
35 | check that paths are expanded | |
|
25 | 36 | |
|
26 | echo % check that paths are expanded | |
|
27 | PWD=`pwd` hg incoming z:// | |
|
37 | $ PWD=`pwd` hg incoming z:// | |
|
38 | comparing with z:// | |
|
39 | searching for changes | |
|
40 | no changes found | |
|
41 | [1] | |
|
28 | 42 | |
|
29 |
|
|
|
30 | cat errors.log | |
|
43 | errors | |
|
44 | ||
|
45 | $ cat errors.log |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now