author | Augie Fackler <augie@google.com> |
Fri, 07 Oct 2016 08:09:23 -0400 | |
changeset 30056 | 3eb4df6d15f8 |
parent 30055 | 7bf15e7eab77 |
child 30057 | a8ba9a23c893 |
--- a/mercurial/revset.py Fri Oct 07 08:03:30 2016 -0400 +++ b/mercurial/revset.py Fri Oct 07 08:09:23 2016 -0400 @@ -177,8 +177,7 @@ if c.isalnum() or c in '._@' or ord(c) > 127) # default set of valid characters for non-initial letters of symbols -_symletters = set(c for c in [chr(i) for i in xrange(256)] - if c.isalnum() or c in '-._/@' or ord(c) > 127) +_symletters = _syminitletters | set('-/') def tokenize(program, lookup=None, syminitletters=None, symletters=None): '''