Commits

Peter Arrenbrecht committed c336780

make headsof use proper sort order in inverse

  • Participants
  • Parent commits 22f6089

Comments (0)

Files changed (1)

         seen = set()
         if not hds:
             return hds
-        for n in sorted(nodes, reverse=True):
+        for n in sorted(nodes, reverse=self.headsarehigher):
             if n in hds:
                 ps = self.parents(n)
                 if ps: