Show More
@@ -734,19 +734,18 b' class localrepository:' | |||
|
734 | 734 | n = unknown.pop(0) |
|
735 | 735 | if n[0] in seen: |
|
736 | 736 | continue |
|
737 | seen[n[0]] = 1 | |
|
738 | 737 | |
|
739 | 738 | self.ui.debug("examining %s:%s\n" % (short(n[0]), short(n[1]))) |
|
740 | 739 | if n[0] == nullid: |
|
741 | 740 | break |
|
742 |
if n |
|
|
741 | if n in seenbranch: | |
|
743 | 742 | self.ui.debug("branch already found\n") |
|
744 | 743 | continue |
|
745 | 744 | if n[1] and n[1] in m: # do we know the base? |
|
746 | 745 | self.ui.debug("found incomplete branch %s:%s\n" |
|
747 | 746 | % (short(n[0]), short(n[1]))) |
|
748 | 747 | search.append(n) # schedule branch range for scanning |
|
749 |
seenbranch[n |
|
|
748 | seenbranch[n] = 1 | |
|
750 | 749 | else: |
|
751 | 750 | if n[1] not in seen and n[1] not in fetch: |
|
752 | 751 | if n[2] in m and n[3] in m: |
@@ -760,6 +759,8 b' class localrepository:' | |||
|
760 | 759 | r.append(a) |
|
761 | 760 | rep[a] = 1 |
|
762 | 761 | |
|
762 | seen[n[0]] = 1 | |
|
763 | ||
|
763 | 764 | if r: |
|
764 | 765 | reqcnt += 1 |
|
765 | 766 | self.ui.debug("request %d: %s\n" % |
@@ -775,9 +776,11 b' class localrepository:' | |||
|
775 | 776 | n = search.pop(0) |
|
776 | 777 | reqcnt += 1 |
|
777 | 778 | l = remote.between([(n[0], n[1])])[0] |
|
779 | l.append(n[1]) | |
|
778 | 780 | p = n[0] |
|
779 | 781 | f = 1 |
|
780 |
for i in l |
|
|
782 | for i in l: | |
|
783 | self.ui.debug("narrowing %d:%d %s\n" % (f, len(l), short(i))) | |
|
781 | 784 | if i in m: |
|
782 | 785 | if f <= 2: |
|
783 | 786 | self.ui.debug("found new branch changeset %s\n" % |
General Comments 0
You need to be logged in to leave comments.
Login now