Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 29926:ae933e3e2226
revset: remove showwarning option from expandaliases()
Now all callers pass showwarning=ui.warn, so we no longer need the option to
suppress warnings.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 08 Sep 2016 22:44:10 +0900 |
parents | a82e138d5249 |
children | 429fd2747d9a |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Aug 21 12:45:43 2016 +0900 +++ b/mercurial/commands.py Thu Sep 08 22:44:10 2016 +0900 @@ -3525,8 +3525,7 @@ """ stages = [ ('parsed', lambda tree: tree), - ('expanded', - lambda tree: revset.expandaliases(ui, tree, showwarning=ui.warn)), + ('expanded', lambda tree: revset.expandaliases(ui, tree)), ('concatenated', revset.foldconcat), ('analyzed', revset.analyze), ('optimized', revset.optimize),