[PATCH] verify: replace _validpath() by matcher

Yuya Nishihara yuya at tcha.org
Fri Feb 3 13:38:33 UTC 2017


On Thu, 02 Feb 2017 09:46:05 -0800, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1485197335 28800
> #      Mon Jan 23 10:48:55 2017 -0800
> # Branch stable
> # Node ID 548f852a5d6a2d016e1b1002168463437a5bcb95
> # Parent  2d6b86cadc1039f7cf72b64c29399bebe02e7dd3
> verify: replace _validpath() by matcher

> Replacing the _validpath() method by a matcher seems like the obvious
> fix. Narrowhg can then pass in its own matcher and not have to
> conflate the two matching functions (for dirs and files). I think it
> also makes the code clearer.

Makes sense. Queued, thanks.



More information about the Mercurial-devel mailing list