mercurial/revset.py
changeset 11404 37cbedbeae96
parent 11385 e5a2134c083b
child 11406 42408cd43f55
--- a/mercurial/revset.py	Sat Jun 19 19:16:11 2010 +0200
+++ b/mercurial/revset.py	Sat Jun 19 12:22:35 2010 -0500
@@ -62,12 +62,12 @@
                 pos += 1
             else:
                 raise error.ParseError(_("unterminated string"), s)
-        elif c.isalnum() or c in '.': # 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
                 d = program[pos]
-                if not (d.isalnum() or d in "._"):
+                if not (d.isalnum() or d in "._" or ord(d) > 127):
                     break
                 if d == '.' and program[pos - 1] == '.': # special case for ..
                     pos -= 1