Show More
@@ -1,5 +1,9 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
|
3 | # adjust to non-default HGPORT, e.g. with run-tests.py -j | |||
|
4 | hideport() { sed "s/localhost:$HGPORT/localhost:20059/"; } | |||
|
5 | hidehash() { sed "s/changeset 3:............ merges/changeset 3:... merges/"; } | |||
|
6 | ||||
3 | echo "[extensions]" >> $HGRCPATH |
|
7 | echo "[extensions]" >> $HGRCPATH | |
4 | echo "fetch=" >> $HGRCPATH |
|
8 | echo "fetch=" >> $HGRCPATH | |
5 |
|
9 | |||
@@ -36,12 +40,12 b' hg --cwd a serve -a localhost -p $HGPORT' | |||||
36 | cat a/hg.pid >> "$DAEMON_PIDS" |
|
40 | cat a/hg.pid >> "$DAEMON_PIDS" | |
37 |
|
41 | |||
38 | echo '% fetch over http, no auth' |
|
42 | echo '% fetch over http, no auth' | |
39 | hg --cwd d fetch -d '5 0' http://localhost:$HGPORT/ |
|
43 | hg --cwd d fetch -d '5 0' http://localhost:$HGPORT/ | hideport | hidehash | |
40 | hg --cwd d tip --template '{desc}\n' |
|
44 | hg --cwd d tip --template '{desc}\n' | hideport | |
41 |
|
45 | |||
42 | echo '% fetch over http with auth (should be hidden in desc)' |
|
46 | echo '% fetch over http with auth (should be hidden in desc)' | |
43 | hg --cwd e fetch -d '5 0' http://user:password@localhost:$HGPORT/ |
|
47 | hg --cwd e fetch -d '5 0' http://user:password@localhost:$HGPORT/ | hideport | hidehash | |
44 | hg --cwd e tip --template '{desc}\n' |
|
48 | hg --cwd e tip --template '{desc}\n' | hideport | |
45 |
|
49 | |||
46 | hg clone a f |
|
50 | hg clone a f | |
47 | hg clone a g |
|
51 | hg clone a g |
@@ -41,7 +41,7 b' updating to 2:97d72e5f12c7' | |||||
41 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
41 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
42 | merging with 1:5e056962225c |
|
42 | merging with 1:5e056962225c | |
43 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
43 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
44 |
new changeset 3: |
|
44 | new changeset 3:... merges remote changes with local | |
45 | Automated merge with http://localhost:20059/ |
|
45 | Automated merge with http://localhost:20059/ | |
46 | % fetch over http with auth (should be hidden in desc) |
|
46 | % fetch over http with auth (should be hidden in desc) | |
47 | pulling from http://user:***@localhost:20059/ |
|
47 | pulling from http://user:***@localhost:20059/ | |
@@ -54,7 +54,7 b' updating to 2:97d72e5f12c7' | |||||
54 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
54 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
55 | merging with 1:5e056962225c |
|
55 | merging with 1:5e056962225c | |
56 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
56 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
57 |
new changeset 3: |
|
57 | new changeset 3:... merges remote changes with local | |
58 | Automated merge with http://localhost:20059/ |
|
58 | Automated merge with http://localhost:20059/ | |
59 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
59 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
60 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
60 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
General Comments 0
You need to be logged in to leave comments.
Login now