# HG changeset patch # User Matt Mackall # Date 2011-06-02 16:27:40 # Node ID 85fe676c27e9a73ae0cc5b3c41469b3d5740d128 # Parent 8c8b55733cbd5387844740959aa4293f6983aff8 fileset: fix long line diff --git a/mercurial/fileset.py b/mercurial/fileset.py --- a/mercurial/fileset.py +++ b/mercurial/fileset.py @@ -56,7 +56,8 @@ def tokenize(program): pos += 1 else: raise error.ParseError(_("unterminated string"), s) - elif c.isalnum() or c in '.*{}[]?' or ord(c) > 127: # gather up a symbol/keyword + elif c.isalnum() or c in '.*{}[]?' or ord(c) > 127: + # gather up a symbol/keyword s = pos pos += 1 while pos < l: # find end of symbol