Show More
@@ -1565,7 +1565,10 b' def registersummarycallback(repo, otr, t' | |||||
1565 | """Report statistics of phase changes for changesets pre-existing |
|
1565 | """Report statistics of phase changes for changesets pre-existing | |
1566 | pull/unbundle. |
|
1566 | pull/unbundle. | |
1567 | """ |
|
1567 | """ | |
1568 | newrevs = tr.changes.get('revs', xrange(0, 0)) |
|
1568 | # TODO set() is only appropriate for 4.7 since revs post | |
|
1569 | # 45e05d39d9ce is a pycompat.membershiprange, which has O(n) | |||
|
1570 | # membership testing. | |||
|
1571 | newrevs = set(tr.changes.get('revs', xrange(0, 0))) | |||
1569 | phasetracking = tr.changes.get('phases', {}) |
|
1572 | phasetracking = tr.changes.get('phases', {}) | |
1570 | if not phasetracking: |
|
1573 | if not phasetracking: | |
1571 | return |
|
1574 | return |
General Comments 0
You need to be logged in to leave comments.
Login now