Mercurial > public > mercurial-scm > hg
comparison tests/common-pattern.py @ 46633:7015b0232c5e
exchange: stop advertising rev-branch-cache bundle capability
Since Mercurial 5.7, the corresponding bundle part is ignored as
redundant. Stop advertising it so that peers don't have to spend time
creating or transfering it.
Differential Revision: https://phab.mercurial-scm.org/D10114
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 04 Mar 2021 21:58:55 +0100 |
parents | edc8504bc26b |
children | 8ae828fd008b |
comparison
equal
deleted
inserted
replaced
46632:9989a276712f | 46633:7015b0232c5e |
---|---|
18 br'hgtagsfnodes%250A' | 18 br'hgtagsfnodes%250A' |
19 br'listkeys%250A' | 19 br'listkeys%250A' |
20 br'phases%253Dheads%250A' | 20 br'phases%253Dheads%250A' |
21 br'pushkey%250A' | 21 br'pushkey%250A' |
22 br'remote-changegroup%253Dhttp%252Chttps%250A' | 22 br'remote-changegroup%253Dhttp%252Chttps%250A' |
23 br'rev-branch-cache%250A' | |
24 br'stream%253Dv2', | 23 br'stream%253Dv2', |
25 # (the replacement patterns) | 24 # (the replacement patterns) |
26 br'$USUAL_BUNDLE_CAPS$', | 25 br'$USUAL_BUNDLE_CAPS$', |
27 ), | 26 ), |
28 ( | 27 ( |
51 br'hgtagsfnodes%0A' | 50 br'hgtagsfnodes%0A' |
52 br'listkeys%0A' | 51 br'listkeys%0A' |
53 br'phases%3Dheads%0A' | 52 br'phases%3Dheads%0A' |
54 br'pushkey%0A' | 53 br'pushkey%0A' |
55 br'remote-changegroup%3Dhttp%2Chttps%0A' | 54 br'remote-changegroup%3Dhttp%2Chttps%0A' |
56 br'rev-branch-cache%0A' | |
57 br'stream%3Dv2', | 55 br'stream%3Dv2', |
58 # (replacement patterns) | 56 # (replacement patterns) |
59 br'$USUAL_BUNDLE2_CAPS$', | 57 br'$USUAL_BUNDLE2_CAPS$', |
60 ), | 58 ), |
61 # bundle2 capabilities advertised by the server | 59 # bundle2 capabilities advertised by the server |
68 br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' | 66 br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' |
69 br'hgtagsfnodes%0A' | 67 br'hgtagsfnodes%0A' |
70 br'listkeys%0A' | 68 br'listkeys%0A' |
71 br'phases%3Dheads%0A' | 69 br'phases%3Dheads%0A' |
72 br'pushkey%0A' | 70 br'pushkey%0A' |
73 br'remote-changegroup%3Dhttp%2Chttps%0A' | 71 br'remote-changegroup%3Dhttp%2Chttps', |
74 br'rev-branch-cache', | |
75 # (replacement patterns) | 72 # (replacement patterns) |
76 br'$USUAL_BUNDLE2_CAPS_SERVER$', | 73 br'$USUAL_BUNDLE2_CAPS_SERVER$', |
77 ), | 74 ), |
78 ( | 75 ( |
79 br'bundle2=HG20%0A' | 76 br'bundle2=HG20%0A' |
83 br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' | 80 br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' |
84 br'hgtagsfnodes%0A' | 81 br'hgtagsfnodes%0A' |
85 br'listkeys%0A' | 82 br'listkeys%0A' |
86 br'pushkey%0A' | 83 br'pushkey%0A' |
87 br'remote-changegroup%3Dhttp%2Chttps%0A' | 84 br'remote-changegroup%3Dhttp%2Chttps%0A' |
88 br'rev-branch-cache%0A' | |
89 br'stream%3Dv2', | 85 br'stream%3Dv2', |
90 # (replacement patterns) | 86 # (replacement patterns) |
91 br'$USUAL_BUNDLE2_CAPS_NO_PHASES$', | 87 br'$USUAL_BUNDLE2_CAPS_NO_PHASES$', |
92 ), | 88 ), |
93 # HTTP access log dates | 89 # HTTP access log dates |