Mercurial > hg
annotate tests/test-http-proxy.t @ 30446:b324b4e431e5
posix: give checkexec a fast path; keep the check files and test read only
Before, Mercurial would create a new temporary file every time, stat it, change
its exec mode, stat it again, and delete it. Most of this dance was done to
handle the rare and not-so-essential case of VFAT mounts on unix. The cost of
that was paid by the much more common and important case of using normal file
systems.
Instead, try to create and preserve .hg/cache/checkisexec and
.hg/cache/checknoexec with and without exec flag set. If the files exist and
have correct exec flags set, we can conclude that that file system supports the
exec flag. Best case, the whole exec check can thus be done with two stat
calls. Worst case, we delete the wrong files and check as usual. That will be
because temporary loss of exec bit or on file systems without support for the
exec bit. In that case we check as we did before, with the additional overhead
of one extra stat call.
It is possible that this different test algorithm in some cases on odd file
systems will give different behaviour. Again, I think it will be rare and
special cases and I think it is worth the risk.
test-clone.t happens to show the situation where checkisexec is left behind
from the old style check, while checknoexec only will be created next time a
exec check will be performed.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 14 Jan 2015 01:15:26 +0100 |
parents | 0c9913d4b3fc |
children | a520aefb96f1 |
rev | line source |
---|---|
22046
7a9cbb315d84
tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents:
17740
diff
changeset
|
1 #require serve |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
2 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
3 $ hg init a |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
4 $ cd a |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
5 $ echo a > a |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
6 $ hg ci -Ama -d '1123456789 0' |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
7 adding a |
28549 | 8 $ hg serve --config server.uncompressed=True -p $HGPORT -d --pid-file=hg.pid |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
9 $ cat hg.pid >> $DAEMON_PIDS |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
10 $ cd .. |
25472
4d2b9b304ad0
tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents:
25401
diff
changeset
|
11 $ tinyproxy.py $HGPORT1 localhost >proxy.log 2>&1 </dev/null & |
16496
abbabbbe4ec2
tests: use 'do sleep 0' instead of 'do true', also on first line of command
Mads Kiilerich <mads@kiilerich.com>
parents:
16301
diff
changeset
|
12 $ while [ ! -f proxy.pid ]; do sleep 0; done |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
13 $ cat proxy.pid >> $DAEMON_PIDS |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
14 |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
15 url for proxy, stream |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
16 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
17 $ http_proxy=http://localhost:$HGPORT1/ hg --config http_proxy.always=True clone --uncompressed http://localhost:$HGPORT/ b |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
18 streaming all changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
19 3 files to transfer, 303 bytes of data |
14023
2cd1520664b8
tests: check for (*/sec) instead of (*B/sec) to match (X bytes/sec)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
13364
diff
changeset
|
20 transferred * bytes in * seconds (*/sec) (glob) |
23116
2dc6b7917cdf
clone: fix copying bookmarks in uncompressed clones (issue4430)
Durham Goode <durham@fb.com>
parents:
22648
diff
changeset
|
21 searching for changes |
2dc6b7917cdf
clone: fix copying bookmarks in uncompressed clones (issue4430)
Durham Goode <durham@fb.com>
parents:
22648
diff
changeset
|
22 no changes found |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
23 updating to branch default |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
24 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
25 $ cd b |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
26 $ hg verify |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
27 checking changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
28 checking manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
29 crosschecking files in changesets and manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
30 checking files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
31 1 files, 1 changesets, 1 total revisions |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
32 $ cd .. |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
33 |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
34 url for proxy, pull |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
35 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
36 $ http_proxy=http://localhost:$HGPORT1/ hg --config http_proxy.always=True clone http://localhost:$HGPORT/ b-pull |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
37 requesting all changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
38 adding changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
39 adding manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
40 adding file changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
41 added 1 changesets with 1 changes to 1 files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
42 updating to branch default |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
43 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
44 $ cd b-pull |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
45 $ hg verify |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
46 checking changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
47 checking manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
48 crosschecking files in changesets and manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
49 checking files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
50 1 files, 1 changesets, 1 total revisions |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
51 $ cd .. |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
52 |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
53 host:port for proxy |
2612
ffb895f16925
add support for streaming clone.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
2571
diff
changeset
|
54 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
55 $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ c |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
56 requesting all changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
57 adding changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
58 adding manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
59 adding file changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
60 added 1 changesets with 1 changes to 1 files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
61 updating to branch default |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
62 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
63 |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
64 proxy url with user name and password |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
65 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
66 $ http_proxy=http://user:passwd@localhost:$HGPORT1 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ d |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
67 requesting all changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
68 adding changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
69 adding manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
70 adding file changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
71 added 1 changesets with 1 changes to 1 files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
72 updating to branch default |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
73 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
74 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
75 url with user name and password |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
76 |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
77 $ http_proxy=http://user:passwd@localhost:$HGPORT1 hg clone --config http_proxy.always=True http://user:passwd@localhost:$HGPORT/ e |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
78 requesting all changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
79 adding changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
80 adding manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
81 adding file changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
82 added 1 changesets with 1 changes to 1 files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
83 updating to branch default |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
84 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
85 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
86 bad host:port for proxy |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
87 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
88 $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
89 abort: error: Connection refused |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
90 [255] |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
91 |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
92 do not use the proxy if it is in the no list |
2337
3f24bc5dee81
http: fix many problems with url parsing and auth. added proxy test.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
93 |
12449
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
94 $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
95 requesting all changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
96 adding changesets |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
97 adding manifests |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
98 adding file changes |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
99 added 1 changesets with 1 changes to 1 files |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
100 updating to branch default |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
101 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
fc12114dbaa5
tests: unify test-http-proxy
Matt Mackall <mpm@selenic.com>
parents:
7919
diff
changeset
|
102 $ cat proxy.log |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12449
diff
changeset
|
103 * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
17740
e6067bec18da
branchcache: fetch source branchcache during clone (issue3378)
Tomasz Kleczek <tomasz.kleczek@fb.com>
parents:
17298
diff
changeset
|
104 * - - [*] "GET http://localhost:$HGPORT/?cmd=branchmap HTTP/1.1" - - (glob) |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12449
diff
changeset
|
105 * - - [*] "GET http://localhost:$HGPORT/?cmd=stream_out HTTP/1.1" - - (glob) |
23116
2dc6b7917cdf
clone: fix copying bookmarks in uncompressed clones (issue4430)
Durham Goode <durham@fb.com>
parents:
22648
diff
changeset
|
106 * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D83180e7845de420a1bb46896fd5fe05294f8d629 (glob) |
29064
9dc27a334fb1
bundle2: properly request phases during getbundle
Mike Hommey <mh@glandium.org>
parents:
28549
diff
changeset
|
107 * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=83180e7845de420a1bb46896fd5fe05294f8d629&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phases%2Cbookmarks (glob) |
25371
fbcbdc62f248
test: use bundle2 in test-http-proxy
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23116
diff
changeset
|
108 * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
fbcbdc62f248
test: use bundle2 in test-http-proxy
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
23116
diff
changeset
|
109 * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
29064
9dc27a334fb1
bundle2: properly request phases during getbundle
Mike Hommey <mh@glandium.org>
parents:
28549
diff
changeset
|
110 * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phases%2Cbookmarks (glob) |
13364
ddddb76f2da3
bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents:
12643
diff
changeset
|
111 * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
14624
f03c82d1f50a
setdiscovery: batch heads and known(ownheads)
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14094
diff
changeset
|
112 * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
29064
9dc27a334fb1
bundle2: properly request phases during getbundle
Mike Hommey <mh@glandium.org>
parents:
28549
diff
changeset
|
113 * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phases%2Cbookmarks (glob) |
13364
ddddb76f2da3
bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents:
12643
diff
changeset
|
114 * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
14624
f03c82d1f50a
setdiscovery: batch heads and known(ownheads)
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14094
diff
changeset
|
115 * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
29064
9dc27a334fb1
bundle2: properly request phases during getbundle
Mike Hommey <mh@glandium.org>
parents:
28549
diff
changeset
|
116 * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phases%2Cbookmarks (glob) |
13364
ddddb76f2da3
bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents:
12643
diff
changeset
|
117 * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
14624
f03c82d1f50a
setdiscovery: batch heads and known(ownheads)
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14094
diff
changeset
|
118 * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
29064
9dc27a334fb1
bundle2: properly request phases during getbundle
Mike Hommey <mh@glandium.org>
parents:
28549
diff
changeset
|
119 * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phases%2Cbookmarks (glob) |