tests/common-pattern.py
changeset 35792 1d118f9f4f57
parent 35449 24528dba0e64
child 35806 ab239e3de23b
equal deleted inserted replaced
35791:9adae6a20e1f 35792:1d118f9f4f57
    16      br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A'
    16      br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A'
    17      br'hgtagsfnodes%250A'
    17      br'hgtagsfnodes%250A'
    18      br'listkeys%250A'
    18      br'listkeys%250A'
    19      br'phases%253Dheads%250A'
    19      br'phases%253Dheads%250A'
    20      br'pushkey%250A'
    20      br'pushkey%250A'
    21      br'remote-changegroup%253Dhttp%252Chttps',
    21      br'remote-changegroup%253Dhttp%252Chttps%250A'
       
    22      br'stream%253Dv2',
    22      # (the replacement patterns)
    23      # (the replacement patterns)
    23      br'$USUAL_BUNDLE_CAPS$'
    24      br'$USUAL_BUNDLE_CAPS$'
    24     ),
    25     ),
       
    26     (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A'
       
    27      br'bookmarks%250A'
       
    28      br'changegroup%253D01%252C02%250A'
       
    29      br'digests%253Dmd5%252Csha1%252Csha512%250A'
       
    30      br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A'
       
    31      br'hgtagsfnodes%250A'
       
    32      br'listkeys%250A'
       
    33      br'phases%253Dheads%250A'
       
    34      br'pushkey%250A'
       
    35      br'remote-changegroup%253Dhttp%252Chttps',
       
    36      # (the replacement patterns)
       
    37      br'$USUAL_BUNDLE_CAPS_SERVER$'
       
    38      ),
    25     # bundle2 capabilities sent through ssh
    39     # bundle2 capabilities sent through ssh
       
    40     (br'bundle2=HG20%0A'
       
    41      br'bookmarks%0A'
       
    42      br'changegroup%3D01%2C02%0A'
       
    43      br'digests%3Dmd5%2Csha1%2Csha512%0A'
       
    44      br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A'
       
    45      br'hgtagsfnodes%0A'
       
    46      br'listkeys%0A'
       
    47      br'phases%3Dheads%0A'
       
    48      br'pushkey%0A'
       
    49      br'remote-changegroup%3Dhttp%2Chttps%0A'
       
    50      br'stream%3Dv2',
       
    51      # (replacement patterns)
       
    52      br'$USUAL_BUNDLE2_CAPS$'
       
    53     ),
       
    54     # bundle2 capabilities advertised by the server
    26     (br'bundle2=HG20%0A'
    55     (br'bundle2=HG20%0A'
    27      br'bookmarks%0A'
    56      br'bookmarks%0A'
    28      br'changegroup%3D01%2C02%0A'
    57      br'changegroup%3D01%2C02%0A'
    29      br'digests%3Dmd5%2Csha1%2Csha512%0A'
    58      br'digests%3Dmd5%2Csha1%2Csha512%0A'
    30      br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A'
    59      br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A'
    32      br'listkeys%0A'
    61      br'listkeys%0A'
    33      br'phases%3Dheads%0A'
    62      br'phases%3Dheads%0A'
    34      br'pushkey%0A'
    63      br'pushkey%0A'
    35      br'remote-changegroup%3Dhttp%2Chttps',
    64      br'remote-changegroup%3Dhttp%2Chttps',
    36      # (replacement patterns)
    65      # (replacement patterns)
    37      br'$USUAL_BUNDLE2_CAPS$'
    66      br'$USUAL_BUNDLE2_CAPS_SERVER$'
    38     ),
    67      ),
    39     # HTTP log dates
    68     # HTTP log dates
    40     (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "GET',
    69     (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "GET',
    41      br' - - [$LOGDATE$] "GET'
    70      br' - - [$LOGDATE$] "GET'
    42     ),
    71     ),
    43     # Windows has an extra '/' in the following lines that get globbed away:
    72     # Windows has an extra '/' in the following lines that get globbed away: