hgext/rebase.py
changeset 34092 8a8e7a94ba07
parent 34009 79ab5369d55a
child 34093 15ec3119d500
--- a/hgext/rebase.py	Wed Sep 06 18:33:55 2017 -0700
+++ b/hgext/rebase.py	Wed Sep 06 12:40:00 2017 -0700
@@ -1072,7 +1072,8 @@
     The new parents of a merge is slightly more complicated. See the comment
     block below.
     """
-    cl = repo.changelog
+    # use unfiltered changelog since successorrevs may return filtered nodes
+    cl = repo.unfiltered().changelog
     def isancestor(a, b):
         # take revision numbers instead of nodes
         if a == b: