Mercurial > public > mercurial-scm > hg
comparison tests/common-pattern.py @ 35073:7f0c9e28a816
test-pattern: substitute the HTTP log timestamp too
We add a pattern matching the infamous timestamp in http log. Now, we should be
able to have change appears in https log without having to re-glob the whole
thing over and over.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 05 Nov 2017 08:23:53 +0100 |
parents | c4ec72a10798 |
children | feecfefeba25 |
comparison
equal
deleted
inserted
replaced
35072:c4ec72a10798 | 35073:7f0c9e28a816 |
---|---|
30 br'pushkey%0A' | 30 br'pushkey%0A' |
31 br'remote-changegroup%3Dhttp%2Chttps', | 31 br'remote-changegroup%3Dhttp%2Chttps', |
32 # (replacement patterns) | 32 # (replacement patterns) |
33 br'$USUAL_BUNDLE2_CAPS$' | 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 ] |