Submitter | Augie Fackler |
---|---|
Date | Oct. 7, 2016, 12:50 p.m. |
Message ID | <24645da251e864651097.1475844647@augie-macbookair2.roam.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/16887/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -2619,8 +2619,7 @@ def optimize(tree): # the set of valid characters for the initial letter of symbols in # alias declarations and definitions -_aliassyminitletters = set(c for c in [chr(i) for i in xrange(256)] - if c.isalnum() or c in '._@$' or ord(c) > 127) +_aliassyminitletters = _syminitletters | set(u'$') def _parsewith(spec, lookup=None, syminitletters=None): """Generate a parse tree of given spec with given tokenizing options