[PATCH 1 of 4] revset: remove doubled space

Augie Fackler raf at durin42.com
Fri Oct 7 12:50:45 UTC 2016


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1475841810 14400
#      Fri Oct 07 08:03:30 2016 -0400
# Node ID da814a1e51a7c97d0b4a1a7519bdca87802e4e6d
# Parent  f3a2125968377fb1d4b9ea3f4917260d5aca3536
revset: remove doubled space

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -177,7 +177,7 @@ keywords = set(['and', 'or', 'not'])
                       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)]
+_symletters = set(c for c in [chr(i) for i in xrange(256)]
                   if c.isalnum() or c in '-._/@' or ord(c) > 127)
 
 def tokenize(program, lookup=None, syminitletters=None, symletters=None):


More information about the Mercurial-devel mailing list