Mercurial > public > mercurial-scm > hg
comparison tests/common-pattern.py @ 38728:88be288e8ac1
tests: refactor common bundle2 capabilities
Differential Revision: https://phab.mercurial-scm.org/D1945
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Sun, 28 Jan 2018 13:20:52 +0100 |
parents | 28e8c5949109 |
children | 4bd6e444c76f |
comparison
equal
deleted
inserted
replaced
38727:fcb517ff9562 | 38728:88be288e8ac1 |
---|---|
69 br'remote-changegroup%3Dhttp%2Chttps%0A' | 69 br'remote-changegroup%3Dhttp%2Chttps%0A' |
70 br'rev-branch-cache', | 70 br'rev-branch-cache', |
71 # (replacement patterns) | 71 # (replacement patterns) |
72 br'$USUAL_BUNDLE2_CAPS_SERVER$' | 72 br'$USUAL_BUNDLE2_CAPS_SERVER$' |
73 ), | 73 ), |
74 ( | |
75 br'bundle2=HG20%0A' | |
76 br'bookmarks%0A' | |
77 br'changegroup%3D01%2C02%0A' | |
78 br'digests%3Dmd5%2Csha1%2Csha512%0A' | |
79 br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' | |
80 br'hgtagsfnodes%0A' | |
81 br'listkeys%0A' | |
82 br'pushkey%0A' | |
83 br'remote-changegroup%3Dhttp%2Chttps%0A' | |
84 br'rev-branch-cache', | |
85 # (replacement patterns) | |
86 br'$USUAL_BUNDLE2_CAPS_NO_PHASES$' | |
87 ), | |
74 # HTTP access log dates | 88 # HTTP access log dates |
75 (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "(GET|PUT|POST)', | 89 (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "(GET|PUT|POST)', |
76 lambda m: br' - - [$LOGDATE$] "' + m.group(1) | 90 lambda m: br' - - [$LOGDATE$] "' + m.group(1) |
77 ), | 91 ), |
78 # HTTP error log dates | 92 # HTTP error log dates |