Show More
@@ -869,6 +869,8 b' class phasecache:' | |||
|
869 | 869 | start = min(new_revs) |
|
870 | 870 | end = len(cl) |
|
871 | 871 | rev_phases = [None] * (end - start) |
|
872 | ||
|
873 | this_phase_set = self._phasesets[targetphase] | |
|
872 | 874 | for r in range(start, end): |
|
873 | 875 | |
|
874 | 876 | # gather information about the current_rev |
@@ -893,6 +895,7 b' class phasecache:' | |||
|
893 | 895 | new_roots.add(r) |
|
894 | 896 | rev_phases[r - start] = targetphase |
|
895 | 897 | changed_revs[r] = r_phase |
|
898 | this_phase_set.add(r) | |
|
896 | 899 | elif p_phase is None: |
|
897 | 900 | rev_phases[r - start] = r_phase |
|
898 | 901 | else: |
@@ -903,10 +906,11 b' class phasecache:' | |||
|
903 | 906 | if p_phase == targetphase: |
|
904 | 907 | if p_phase > r_phase: |
|
905 | 908 | changed_revs[r] = r_phase |
|
909 | this_phase_set.add(r) | |
|
906 | 910 | elif r in currentroots: |
|
907 | 911 | replaced_roots.add(r) |
|
908 | 912 | sets = self._phasesets |
|
909 |
|
|
|
913 | if targetphase > draft: | |
|
910 | 914 | for r, old in changed_revs.items(): |
|
911 | 915 | if old > public: |
|
912 | 916 | sets[old].discard(r) |
General Comments 0
You need to be logged in to leave comments.
Login now