Show More
@@ -975,12 +975,13 b' def makestream(repo, outgoing, version, ' | |||
|
975 | 975 | def _addchangegroupfiles(repo, source, revmap, trp, expectedfiles, needfiles): |
|
976 | 976 | revisions = 0 |
|
977 | 977 | files = 0 |
|
978 | progress = repo.ui.makeprogress(_('files'), unit=_('files'), | |
|
979 | total=expectedfiles) | |
|
978 | 980 | for chunkdata in iter(source.filelogheader, {}): |
|
979 | 981 | files += 1 |
|
980 | 982 | f = chunkdata["filename"] |
|
981 | 983 | repo.ui.debug("adding %s revisions\n" % f) |
|
982 | repo.ui.progress(_('files'), files, unit=_('files'), | |
|
983 | total=expectedfiles) | |
|
984 | progress.increment() | |
|
984 | 985 | fl = repo.file(f) |
|
985 | 986 | o = len(fl) |
|
986 | 987 | try: |
@@ -1001,7 +1002,7 b' def _addchangegroupfiles(repo, source, r' | |||
|
1001 | 1002 | _("received spurious file revlog entry")) |
|
1002 | 1003 | if not needs: |
|
1003 | 1004 | del needfiles[f] |
|
1004 | repo.ui.progress(_('files'), None) | |
|
1005 | progress.complete() | |
|
1005 | 1006 | |
|
1006 | 1007 | for f, needs in needfiles.iteritems(): |
|
1007 | 1008 | fl = repo.file(f) |
General Comments 0
You need to be logged in to leave comments.
Login now