Show More
@@ -1620,13 +1620,13 def registersummarycallback(repo, otr, t | |||
|
1620 | 1620 | def reportnewcs(repo, tr): |
|
1621 | 1621 | """Report the range of new revisions pulled/unbundled.""" |
|
1622 | 1622 | origrepolen = tr.changes.get('origrepolen', len(repo)) |
|
1623 |
|
|
|
1623 | unfi = repo.unfiltered() | |
|
1624 | if origrepolen >= len(unfi): | |
|
1624 | 1625 | return |
|
1625 | 1626 | |
|
1626 | 1627 | # Compute the bounds of new visible revisions' range. |
|
1627 | 1628 | revs = smartset.spanset(repo, start=origrepolen) |
|
1628 |
if |
|
|
1629 | return | |
|
1629 | if revs: | |
|
1630 | 1630 | minrev, maxrev = repo[revs.min()], repo[revs.max()] |
|
1631 | 1631 | |
|
1632 | 1632 | if minrev == maxrev: |
@@ -1647,7 +1647,8 def registersummarycallback(repo, otr, t | |||
|
1647 | 1647 | msg = _('new changesets %s (%d secrets)\n') |
|
1648 | 1648 | msg %= (revrange, secret) |
|
1649 | 1649 | else: |
|
1650 |
|
|
|
1650 | errormsg = 'entered unreachable condition' | |
|
1651 | raise error.ProgrammingError(errormsg) | |
|
1651 | 1652 | repo.ui.status(msg) |
|
1652 | 1653 | |
|
1653 | 1654 | @reportsummary |
General Comments 0
You need to be logged in to leave comments.
Login now