[PATCH 4 of 6 v2] run-tests: add support for using 127.0.0.1 as a glob

Yuya Nishihara yuya at tcha.org
Wed Jul 13 09:24:50 EDT 2016


On Tue, 12 Jul 2016 15:49:51 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf at durin42.com>
> # Date 1468119662 14400
> #      Sat Jul 09 23:01:02 2016 -0400
> # Node ID 8cbb7bea9c02697fa4addbdf884a18b95a228b8a
> # Parent  22e0c03114ed488eb162b8dd9f06593f0524f39f
> run-tests: add support for using 127.0.0.1 as a glob

Queued the series, thanks.

> @@ -1263,6 +1268,7 @@ class TTest(Test):
>                          return True
>                  return b'-glob'
>              return True
> +        el = el.replace(b'127.0.0.1', b'*')

This seemed a bit wild at first, but the diff in the next patch wasn't that
big, which made me feel globbing 127.0.0.1 is good.


More information about the Mercurial-devel mailing list