comparison mercurial/revset.py @ 30055:7bf15e7eab77

revset: remove doubled space
author Augie Fackler <augie@google.com>
date Fri, 07 Oct 2016 08:03:30 -0400
parents 69b61d0bb008
children 3eb4df6d15f8
comparison
equal deleted inserted replaced
30054:8b89521a69ba 30055:7bf15e7eab77
175 # default set of valid characters for the initial letter of symbols 175 # default set of valid characters for the initial letter of symbols
176 _syminitletters = set(c for c in [chr(i) for i in xrange(256)] 176 _syminitletters = set(c for c in [chr(i) for i in xrange(256)]
177 if c.isalnum() or c in '._@' or ord(c) > 127) 177 if c.isalnum() or c in '._@' or ord(c) > 127)
178 178
179 # default set of valid characters for non-initial letters of symbols 179 # default set of valid characters for non-initial letters of symbols
180 _symletters = set(c for c in [chr(i) for i in xrange(256)] 180 _symletters = set(c for c in [chr(i) for i in xrange(256)]
181 if c.isalnum() or c in '-._/@' or ord(c) > 127) 181 if c.isalnum() or c in '-._/@' or ord(c) > 127)
182 182
183 def tokenize(program, lookup=None, syminitletters=None, symletters=None): 183 def tokenize(program, lookup=None, syminitletters=None, symletters=None):
184 ''' 184 '''
185 Parse a revset statement into a stream of tokens 185 Parse a revset statement into a stream of tokens