Show More
@@ -485,7 +485,7 b' def cachelfiles(ui, repo, node, filelist' | |||
|
485 | 485 | return ([], []) |
|
486 | 486 | |
|
487 | 487 | |
|
488 |
def downloadlfiles(ui, repo |
|
|
488 | def downloadlfiles(ui, repo): | |
|
489 | 489 | match = scmutil.match(repo[None], [repo.wjoin(lfutil.shortname)], {}) |
|
490 | 490 | |
|
491 | 491 | def prepare(ctx, fns): |
@@ -493,8 +493,7 b' def downloadlfiles(ui, repo, rev=None):' | |||
|
493 | 493 | |
|
494 | 494 | totalsuccess = 0 |
|
495 | 495 | totalmissing = 0 |
|
496 | if rev != []: # walkchangerevs on empty list would return all revs | |
|
497 | for ctx in cmdutil.walkchangerevs(repo, match, {b'rev': rev}, prepare): | |
|
496 | for ctx in cmdutil.walkchangerevs(repo, match, {b'rev': None}, prepare): | |
|
498 | 497 |
|
|
499 | 498 |
|
|
500 | 499 |
|
@@ -1094,7 +1094,7 b' def hgclone(orig, ui, opts, *args, **kwa' | |||
|
1094 | 1094 | # truncated at that point. The user may expect a download count with |
|
1095 | 1095 | # this option, so attempt whether or not this is a largefile repo. |
|
1096 | 1096 | if opts.get(b'all_largefiles'): |
|
1097 |
success, missing = lfcommands.downloadlfiles(ui, repo |
|
|
1097 | success, missing = lfcommands.downloadlfiles(ui, repo) | |
|
1098 | 1098 | |
|
1099 | 1099 | if missing != 0: |
|
1100 | 1100 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now