##// END OF EJS Templates
test-pattern: register the current the bundle2 capabilities string...
Boris Feld -
r35071:c4ec72a1 default
parent child Browse files
Show More
@@ -1,22 +1,35 b''
1 # common patterns in test at can safely be replaced
1 # common patterns in test at can safely be replaced
2 from __future__ import absolute_import
2 from __future__ import absolute_import
3
3
4 substitutions = [
4 substitutions = [
5 # list of possible compressions
5 # list of possible compressions
6 (br'zstd,zlib,none,bzip2',
6 (br'zstd,zlib,none,bzip2',
7 br'$USUAL_COMPRESSIONS$'
7 br'$USUAL_COMPRESSIONS$'
8 ),
8 ),
9 # capabilities sent through http
9 # capabilities sent through http
10 (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A'
10 (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A'
11 br'changegroup%253D01%252C02%250A'
11 br'changegroup%253D01%252C02%250A'
12 br'digests%253Dmd5%252Csha1%252Csha512%250A'
12 br'digests%253Dmd5%252Csha1%252Csha512%250A'
13 br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A'
13 br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A'
14 br'hgtagsfnodes%250A'
14 br'hgtagsfnodes%250A'
15 br'listkeys%250A'
15 br'listkeys%250A'
16 br'phases%253Dheads%250A'
16 br'phases%253Dheads%250A'
17 br'pushkey%250A'
17 br'pushkey%250A'
18 br'remote-changegroup%253Dhttp%252Chttps',
18 br'remote-changegroup%253Dhttp%252Chttps',
19 # (the replacement patterns)
19 # (the replacement patterns)
20 br'$USUAL_BUNDLE_CAPS$'
20 br'$USUAL_BUNDLE_CAPS$'
21 ),
21 ),
22 # bundle2 capabilities sent through ssh
23 (br'bundle2=HG20%0A'
24 br'changegroup%3D01%2C02%0A'
25 br'digests%3Dmd5%2Csha1%2Csha512%0A'
26 br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A'
27 br'hgtagsfnodes%0A'
28 br'listkeys%0A'
29 br'phases%3Dheads%0A'
30 br'pushkey%0A'
31 br'remote-changegroup%3Dhttp%2Chttps',
32 # (replacement patterns)
33 br'$USUAL_BUNDLE2_CAPS$'
34 ),
22 ]
35 ]
General Comments 0
You need to be logged in to leave comments. Login now