equal
deleted
inserted
replaced
830 # first changeset on a new branch |
830 # first changeset on a new branch |
831 # the parent is a changeset with the branch in its |
831 # the parent is a changeset with the branch in its |
832 # branchpoints such that it is the latest possible |
832 # branchpoints such that it is the latest possible |
833 # commit without any intervening, unrelated commits. |
833 # commit without any intervening, unrelated commits. |
834 |
834 |
835 for candidate in pycompat.xrange(i): |
835 for candidate in range(i): |
836 if c.branch not in changesets[candidate].branchpoints: |
836 if c.branch not in changesets[candidate].branchpoints: |
837 if p is not None: |
837 if p is not None: |
838 break |
838 break |
839 continue |
839 continue |
840 p = candidate |
840 p = candidate |