Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 36043:dd77e36eabb6
logcmdutil: create hunksfilter and filematcher even if no diff option given
It's okay since 5fe6f946f111, "log: allow matchfn to be non-null even if both
--patch/--stat are off."
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 Jan 2018 15:34:37 +0900 |
parents | fcde8946c553 |
children | f113ac0750f3 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Jan 21 14:37:04 2018 +0900 +++ b/mercurial/commands.py Sun Jan 21 15:34:37 2018 +0900 @@ -3431,7 +3431,7 @@ revs, lrfilematcher, hunksfilter = logcmdutil.getlinerangerevs( repo, revs, opts) - if filematcher is not None and lrfilematcher is not None: + if filematcher is not None: basefilematcher = filematcher def filematcher(rev):