changeset 11284:0b5c2e82aeb5

revset: sort the predicate list
author Matt Mackall <mpm@selenic.com>
date Fri, 04 Jun 2010 10:27:23 -0500
parents a6356b2695a3
children f118029e534c
files mercurial/revset.py
diffstat 1 files changed, 22 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- 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 = {