##// END OF EJS Templates
parser: move alias declaration parser to common rule-set class...
parser: move alias declaration parser to common rule-set class The original _parsealiasdecl() function is split into common _builddecl() and revset-specific _parsealiasdecl(). And the original _parsealiasdecl() call is temporarily replaced by rules._builddecl(), which should be eliminated later. The doctests are mostly ported by using the dummy parse(), but the test for 'foo bar' is kept in _parsealiasdecl() as it checks if "pos != len(decl)" is working. Also, 'foo($1)' test is added to make sure the alias tokenizer can handle '$1' symbol, which is the only reason why we need _parsealiasdecl().
Yuya Nishihara -
r28871:6d6201fc default
Show More
Name Size Modified Last Commit Author
/ mercurial / help / internals
bundles.txt Loading ...
changegroups.txt Loading ...
requirements.txt Loading ...
revlogs.txt Loading ...