changeset 30056 | 3eb4df6d15f8 |
parent 30055 | 7bf15e7eab77 |
child 30071 | 2def3d55b1b9 |
--- 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): '''