mercurial/revset.py
changeset 29770 9c51a5de76db
parent 29769 abe4eecc3253
child 29780 531e85eec23c
--- a/mercurial/revset.py	Sat Aug 06 20:21:00 2016 +0900
+++ b/mercurial/revset.py	Sat Aug 06 20:37:48 2016 +0900
@@ -2323,11 +2323,14 @@
     op = x[0]
     if op == 'parent':
         # x^:y means (x^) : y, not x ^ (:y)
+        # x^:  means (x^) :,   not x ^ (:)
         post = ('parentpost', x[1])
         if x[2][0] == 'dagrangepre':
             return _fixops(('dagrange', post, x[2][1]))
         elif x[2][0] == 'rangepre':
             return _fixops(('range', post, x[2][1]))
+        elif x[2][0] == 'rangeall':
+            return _fixops(('rangepost', post))
 
     return (op,) + tuple(_fixops(y) for y in x[1:])