comparison mercurial/parser.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 c1f254138f44
children 7a772deffa12
comparison
equal deleted inserted replaced
28897:c1f254138f44 28898:8d398155bfda
237 self.tree = tree 237 self.tree = tree
238 self.args = args 238 self.args = args
239 self.error = err 239 self.error = err
240 self.replacement = replacement 240 self.replacement = replacement
241 # whether own `error` information is already shown or not. 241 # whether own `error` information is already shown or not.
242 # this avoids showing same warning multiple times at each `findaliases`. 242 # this avoids showing same warning multiple times at each
243 # `expandaliases`.
243 self.warned = False 244 self.warned = False
244 245
245 class basealiasrules(object): 246 class basealiasrules(object):
246 """Parsing and expansion rule set of aliases 247 """Parsing and expansion rule set of aliases
247 248