Show More
@@ -486,15 +486,11 b' def cachelfiles(ui, repo, node, filelist' | |||||
486 |
|
486 | |||
487 |
|
487 | |||
488 | def downloadlfiles(ui, repo): |
|
488 | def downloadlfiles(ui, repo): | |
489 | match = scmutil.match(repo[None], [repo.wjoin(lfutil.shortname)], {}) |
|
489 | tonode = repo.changelog.node | |
490 |
|
||||
491 | def prepare(ctx, fns): |
|
|||
492 | pass |
|
|||
493 |
|
||||
494 | totalsuccess = 0 |
|
490 | totalsuccess = 0 | |
495 | totalmissing = 0 |
|
491 | totalmissing = 0 | |
496 | for ctx in cmdutil.walkchangerevs(repo, match, {b'rev': None}, prepare): |
|
492 | for rev in repo.revs(b'reverse(file(%s))', b'path:' + lfutil.shortname): | |
497 |
success, missing = cachelfiles(ui, repo, |
|
493 | success, missing = cachelfiles(ui, repo, tonode(rev)) | |
498 | totalsuccess += len(success) |
|
494 | totalsuccess += len(success) | |
499 | totalmissing += len(missing) |
|
495 | totalmissing += len(missing) | |
500 | ui.status(_(b"%d additional largefiles cached\n") % totalsuccess) |
|
496 | ui.status(_(b"%d additional largefiles cached\n") % totalsuccess) |
General Comments 0
You need to be logged in to leave comments.
Login now