[PATCH] revset: add missing whitespace

Kevin Gessner kevin at fogcreek.com
Sat Apr 30 11:29:05 CDT 2011


# HG changeset patch
# User Kevin Gessner <kevin at kevingessner.com>
# Date 1304180745 -7200
# Node ID 3b12396f3ce4c5d1340007697ca8e45e95857d45
# Parent  305c97670d7a6f89897e2b3a3076895fbc1a29f6
revset: add missing whitespace

diff -r 305c97670d7a -r 3b12396f3ce4 mercurial/revset.py
--- a/mercurial/revset.py	Sat Apr 30 17:43:04 2011 +0200
+++ b/mercurial/revset.py	Sat Apr 30 18:25:45 2011 +0200
@@ -614,7 +614,7 @@
     """
     try:
         n = int(n[1])
-        if n not in (0,1,2):
+        if n not in (0, 1, 2):
             raise ValueError
     except ValueError:
         raise error.ParseError(_("^ expects a number 0, 1, or 2"))


More information about the Mercurial-devel mailing list