Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 29922: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 |
comparison
equal
deleted
inserted
replaced
29921:a82e138d5249 | 29922:ae933e3e2226 |
---|---|
3523 Use -p/--show-stage option to print the parsed tree at the given stages. | 3523 Use -p/--show-stage option to print the parsed tree at the given stages. |
3524 Use -p all to print tree at every stage. | 3524 Use -p all to print tree at every stage. |
3525 """ | 3525 """ |
3526 stages = [ | 3526 stages = [ |
3527 ('parsed', lambda tree: tree), | 3527 ('parsed', lambda tree: tree), |
3528 ('expanded', | 3528 ('expanded', lambda tree: revset.expandaliases(ui, tree)), |
3529 lambda tree: revset.expandaliases(ui, tree, showwarning=ui.warn)), | |
3530 ('concatenated', revset.foldconcat), | 3529 ('concatenated', revset.foldconcat), |
3531 ('analyzed', revset.analyze), | 3530 ('analyzed', revset.analyze), |
3532 ('optimized', revset.optimize), | 3531 ('optimized', revset.optimize), |
3533 ] | 3532 ] |
3534 stagenames = set(n for n, f in stages) | 3533 stagenames = set(n for n, f in stages) |