revset: fix typo when assigning weight to reverse and limit stable
authorMads Kiilerich <mads@kiilerich.com>
Thu, 24 Feb 2011 00:47:49 +0100
branchstable
changeset 13506 117990768fe0
parent 13505 9b617c56eb65
child 13507 375ba42f3cda
revset: fix typo when assigning weight to reverse and limit
mercurial/revset.py
--- a/mercurial/revset.py	Mon Feb 28 15:46:48 2011 +0100
+++ b/mercurial/revset.py	Thu Feb 24 00:47:49 2011 +0100
@@ -794,7 +794,7 @@
             w = 100 # very slow
         elif f == "ancestor":
             w = 1 * smallbonus
-        elif f == "reverse limit":
+        elif f in "reverse limit":
             w = 0
         elif f in "sort":
             w = 10 # assume most sorts look at changelog