Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 28898:8d398155bfda
revset: rename findaliases() to expandaliases()
This function returns a full tree of alias expansion applied, which sounds
different from what "findaliases" would do.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 29 Feb 2016 22:58:15 +0900 |
parents | 445a25bb70be |
children | eb017d52899d |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Mar 29 16:30:59 2016 +0900 +++ b/mercurial/commands.py Mon Feb 29 22:58:15 2016 +0900 @@ -3508,7 +3508,7 @@ if ui.verbose: tree = revset.parse(expr, lookup=repo.__contains__) ui.note(revset.prettyformat(tree), "\n") - newtree = revset.findaliases(ui, tree) + newtree = revset.expandaliases(ui, tree) if newtree != tree: ui.note("* expanded:\n", revset.prettyformat(newtree), "\n") tree = newtree