Mercurial > public > mercurial-scm > hg
diff tests/test-narrow-commit.t @ 38263:dbf31732ef64
debugwalk: pretty-print nested matcher
While porting filesets to composition of matchers, I found the original
one-liner was hard to read.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 10 Jun 2018 11:55:52 +0900 |
parents | 7c3a59e2971b |
children | 7e99b02768ef |
line wrap: on
line diff
--- a/tests/test-narrow-commit.t Sun Jun 10 11:53:56 2018 +0900 +++ b/tests/test-narrow-commit.t Sun Jun 10 11:55:52 2018 +0900 @@ -50,7 +50,8 @@ $ mkdir outside $ touch outside/f1 $ hg debugwalk -v -I 'relglob:f1' - matcher: <includematcher includes='(?:(?:|.*/)f1(?:/|$))'> + * matcher: + <includematcher includes='(?:(?:|.*/)f1(?:/|$))'> f inside/f1 inside/f1 $ hg add outside/f1 abort: cannot track 'outside/f1' - it is outside the narrow clone