mercurial/parser.py
changeset 30332 318a24b52eeb
parent 29767 e5b794063fd4
child 30752 ffd324eaf994
equal deleted inserted replaced
30331:b19291e5d506 30332:318a24b52eeb
   246     """Parsing and expansion rule set of aliases
   246     """Parsing and expansion rule set of aliases
   247 
   247 
   248     This is a helper for fileset/revset/template aliases. A concrete rule set
   248     This is a helper for fileset/revset/template aliases. A concrete rule set
   249     should be made by sub-classing this and implementing class/static methods.
   249     should be made by sub-classing this and implementing class/static methods.
   250 
   250 
   251     It supports alias expansion of symbol and funciton-call styles::
   251     It supports alias expansion of symbol and function-call styles::
   252 
   252 
   253         # decl = defn
   253         # decl = defn
   254         h = heads(default)
   254         h = heads(default)
   255         b($1) = ancestors($1) - ancestors(default)
   255         b($1) = ancestors($1) - ancestors(default)
   256     """
   256     """