Re: [PATCH 2 of 4] debugwalk: show matcher output only if -v/--verbose

2018-06-13 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, Jun 13, 2018 at 5:03 AM Yuya Nishihara wrote: > On Tue, 12 Jun 2018 13:44:17 -0700, Martin von Zweigbergk wrote: > > > --- a/mercurial/debugcommands.py > > > +++ b/mercurial/debugcommands.py > > > @@ -2542,7 +2542,8 @@ def debugwalk(ui, repo, *pats, **opts): > > > """show how files m

Re: [PATCH 2 of 4] debugwalk: show matcher output only if -v/--verbose

2018-06-13 Thread Yuya Nishihara
On Tue, 12 Jun 2018 13:44:17 -0700, Martin von Zweigbergk wrote: > > --- a/mercurial/debugcommands.py > > +++ b/mercurial/debugcommands.py > > @@ -2542,7 +2542,8 @@ def debugwalk(ui, repo, *pats, **opts): > > """show how files match on given patterns""" > > opts = pycompat.byteskwargs(opt

Re: [PATCH 2 of 4] debugwalk: show matcher output only if -v/--verbose

2018-06-12 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jun 11, 2018 at 6:07 AM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1528599236 -32400 > # Sun Jun 10 11:53:56 2018 +0900 > # Node ID ff248c56af342b1e07e1d51bb4760da202111ba3 > # Parent 40a20b62d7cc17999c8e879d62b4d95f1c3bb4cd > debugwalk: show matc

[PATCH 2 of 4] debugwalk: show matcher output only if -v/--verbose

2018-06-11 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1528599236 -32400 # Sun Jun 10 11:53:56 2018 +0900 # Node ID ff248c56af342b1e07e1d51bb4760da202111ba3 # Parent 40a20b62d7cc17999c8e879d62b4d95f1c3bb4cd debugwalk: show matcher output only if -v/--verbose And drop "egrep -v". This matches the