--- a/hgext/largefiles/lfcommands.py Wed Sep 06 08:22:54 2017 -0700
+++ b/hgext/largefiles/lfcommands.py Tue Sep 05 15:06:45 2017 -0700
@@ -422,14 +422,13 @@
return ([], [])
def downloadlfiles(ui, repo, rev=None):
- matchfn = scmutil.match(repo[None],
- [repo.wjoin(lfutil.shortname)], {})
+ match = scmutil.match(repo[None], [repo.wjoin(lfutil.shortname)], {})
def prepare(ctx, fns):
pass
totalsuccess = 0
totalmissing = 0
if rev != []: # walkchangerevs on empty list would return all revs
- for ctx in cmdutil.walkchangerevs(repo, matchfn, {'rev' : rev},
+ for ctx in cmdutil.walkchangerevs(repo, match, {'rev' : rev},
prepare):
success, missing = cachelfiles(ui, repo, ctx.node())
totalsuccess += len(success)