##// END OF EJS Templates
upgrade: close progress after each revlog...
Martin von Zweigbergk -
r38417:f273b768 default
parent child Browse files
Show More
@@ -534,6 +534,8 b' def _copyrevlogs(ui, srcrepo, dstrepo, t'
534 (mcount, mrevcount, util.bytecount(msrcsize),
534 (mcount, mrevcount, util.bytecount(msrcsize),
535 util.bytecount(mrawsize)))
535 util.bytecount(mrawsize)))
536 seen.add('m')
536 seen.add('m')
537 if progress:
538 ui.progress(progress[0], None)
537 progress[:] = [_('manifest revisions'), 0, mrevcount]
539 progress[:] = [_('manifest revisions'), 0, mrevcount]
538 elif 'f' not in seen:
540 elif 'f' not in seen:
539 ui.write(_('migrating %d filelogs containing %d revisions '
541 ui.write(_('migrating %d filelogs containing %d revisions '
@@ -541,6 +543,8 b' def _copyrevlogs(ui, srcrepo, dstrepo, t'
541 (fcount, frevcount, util.bytecount(fsrcsize),
543 (fcount, frevcount, util.bytecount(fsrcsize),
542 util.bytecount(frawsize)))
544 util.bytecount(frawsize)))
543 seen.add('f')
545 seen.add('f')
546 if progress:
547 ui.progress(progress[0], None)
544 progress[:] = [_('file revisions'), 0, frevcount]
548 progress[:] = [_('file revisions'), 0, frevcount]
545
549
546 ui.progress(progress[0], progress[1], total=progress[2])
550 ui.progress(progress[0], progress[1], total=progress[2])
General Comments 0
You need to be logged in to leave comments. Login now