revset: sort the predicate list
authorMatt Mackall <mpm@selenic.com>
Fri, 04 Jun 2010 10:27:23 -0500
changeset 11284 0b5c2e82aeb5
parent 11283 a6356b2695a3
child 11285 f118029e534c
revset: sort the predicate list
mercurial/revset.py
--- a/mercurial/revset.py	Fri Jun 04 10:26:55 2010 -0500
+++ b/mercurial/revset.py	Fri Jun 04 10:27:23 2010 -0500
@@ -432,37 +432,37 @@
     return [r for r in subset if r in s]
 
 symbols = {
+    "adds": adds,
+    "all": getall,
     "ancestor": ancestor,
     "ancestors": ancestors,
-    "descendants": descendants,
-    "follow": follow,
-    "merge": merge,
-    "reverse": reverse,
-    "sort": sort,
+    "author": author,
     "branch": branch,
+    "children": children,
+    "closed": closed,
+    "contains": contains,
+    "date": date,
+    "descendants": descendants,
+    "file": hasfile,
+    "follow": follow,
+    "grep": grep,
+    "head": head,
+    "heads": heads,
     "keyword": keyword,
-    "author": author,
-    "user": author,
-    "date": date,
-    "grep": grep,
+    "limit": limit,
+    "max": maxrev,
+    "merge": merge,
+    "modifies": modifies,
+    "outgoing": outgoing,
     "p1": p1,
     "p2": p2,
     "parents": parents,
-    "children": children,
-    "max": maxrev,
-    "limit": limit,
-    "file": hasfile,
-    "contains": contains,
-    "heads": heads,
+    "removes": removes,
+    "reverse": reverse,
     "roots": roots,
-    "all": getall,
-    "closed": closed,
-    "head": head,
-    "modifies": modifies,
-    "adds": adds,
-    "removes": removes,
-    "outgoing": outgoing,
+    "sort": sort,
     "tagged": tagged,
+    "user": author,
 }
 
 methods = {