hgext/rebase.py
changeset 34092 8a8e7a94ba07
parent 34009 79ab5369d55a
child 34093 15ec3119d500
equal deleted inserted replaced
34091:bbdca7e460c0 34092:8a8e7a94ba07
  1070         A
  1070         A
  1071 
  1071 
  1072     The new parents of a merge is slightly more complicated. See the comment
  1072     The new parents of a merge is slightly more complicated. See the comment
  1073     block below.
  1073     block below.
  1074     """
  1074     """
  1075     cl = repo.changelog
  1075     # use unfiltered changelog since successorrevs may return filtered nodes
       
  1076     cl = repo.unfiltered().changelog
  1076     def isancestor(a, b):
  1077     def isancestor(a, b):
  1077         # take revision numbers instead of nodes
  1078         # take revision numbers instead of nodes
  1078         if a == b:
  1079         if a == b:
  1079             return True
  1080             return True
  1080         elif a > b:
  1081         elif a > b: