equal
deleted
inserted
replaced
2364 if pos != len(defn): |
2364 if pos != len(defn): |
2365 raise error.ParseError(_('invalid token'), pos) |
2365 raise error.ParseError(_('invalid token'), pos) |
2366 tree = parser.simplifyinfixops(tree, ('list', 'or')) |
2366 tree = parser.simplifyinfixops(tree, ('list', 'or')) |
2367 return _relabelaliasargs(tree, args) |
2367 return _relabelaliasargs(tree, args) |
2368 |
2368 |
|
2369 class _aliasrules(parser.basealiasrules): |
|
2370 """Parsing and expansion rule set of revset aliases""" |
|
2371 _section = _('revset alias') |
|
2372 _getlist = staticmethod(getlist) |
|
2373 |
2369 class revsetalias(object): |
2374 class revsetalias(object): |
2370 # whether own `error` information is already shown or not. |
2375 # whether own `error` information is already shown or not. |
2371 # this avoids showing same warning multiple times at each `findaliases`. |
2376 # this avoids showing same warning multiple times at each `findaliases`. |
2372 warned = False |
2377 warned = False |
2373 |
2378 |