mercurial/scmutil.py
changeset 35308 137a08d82232
parent 35206 278f1feee73a
child 35412 b1959391a088
equal deleted inserted replaced
35307:4caafe280488 35308:137a08d82232
  1260 
  1260 
  1261     if txmatch(_reportnewcssource):
  1261     if txmatch(_reportnewcssource):
  1262         @reportsummary
  1262         @reportsummary
  1263         def reportnewcs(repo, tr):
  1263         def reportnewcs(repo, tr):
  1264             """Report the range of new revisions pulled/unbundled."""
  1264             """Report the range of new revisions pulled/unbundled."""
  1265             newrevs = list(tr.changes.get('revs', set()))
  1265             newrevs = tr.changes.get('revs', xrange(0, 0))
  1266             if not newrevs:
  1266             if not newrevs:
  1267                 return
  1267                 return
  1268 
  1268 
  1269             # Compute the bounds of new revisions' range, excluding obsoletes.
  1269             # Compute the bounds of new revisions' range, excluding obsoletes.
  1270             unfi = repo.unfiltered()
  1270             unfi = repo.unfiltered()