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