Show More
@@ -322,13 +322,14 b' def archive(repo, dest, node, kind, deco' | |||
|
322 | 322 | files.sort() |
|
323 | 323 | scmutil.prefetchfiles(repo, [ctx.rev()], |
|
324 | 324 | scmutil.matchfiles(repo, files)) |
|
325 |
repo.ui |
|
|
326 | for i, f in enumerate(files): | |
|
325 | progress = scmutil.progress(repo.ui, _('archiving'), unit=_('files'), | |
|
326 | total=total) | |
|
327 | progress.update(0) | |
|
328 | for f in files: | |
|
327 | 329 | ff = ctx.flags(f) |
|
328 | 330 | write(f, 'x' in ff and 0o755 or 0o644, 'l' in ff, ctx[f].data) |
|
329 | repo.ui.progress(_('archiving'), i + 1, item=f, | |
|
330 | unit=_('files'), total=total) | |
|
331 | repo.ui.progress(_('archiving'), None) | |
|
331 | progress.increment(item=f) | |
|
332 | progress.complete() | |
|
332 | 333 | |
|
333 | 334 | if subrepos: |
|
334 | 335 | for subpath in sorted(ctx.substate): |
General Comments 0
You need to be logged in to leave comments.
Login now