equal
deleted
inserted
replaced
558 return getset(matchctx(ctx, subset, status), tree) |
558 return getset(matchctx(ctx, subset, status), tree) |
559 |
559 |
560 def prettyformat(tree): |
560 def prettyformat(tree): |
561 return parser.prettyformat(tree, ('string', 'symbol')) |
561 return parser.prettyformat(tree, ('string', 'symbol')) |
562 |
562 |
|
563 def loadpredicate(ui, extname, registrarobj): |
|
564 """Load fileset predicates from specified registrarobj |
|
565 """ |
|
566 for name, func in registrarobj._table.iteritems(): |
|
567 symbols[name] = func |
|
568 if func._callstatus: |
|
569 _statuscallers.add(name) |
|
570 if func._callexisting: |
|
571 _existingcallers.add(name) |
|
572 |
563 # tell hggettext to extract docstrings from these functions: |
573 # tell hggettext to extract docstrings from these functions: |
564 i18nfunctions = symbols.values() |
574 i18nfunctions = symbols.values() |