equal
deleted
inserted
replaced
344 retval = store.exists(files) |
344 retval = store.exists(files) |
345 files = filter(lambda h: not retval[h], files) |
345 files = filter(lambda h: not retval[h], files) |
346 ui.debug("%d largefiles need to be uploaded\n" % len(files)) |
346 ui.debug("%d largefiles need to be uploaded\n" % len(files)) |
347 |
347 |
348 for hash in files: |
348 for hash in files: |
349 ui.progress(_('uploading largefiles'), at, unit='largefile', |
349 ui.progress(_('uploading largefiles'), at, unit=_('files'), |
350 total=len(files)) |
350 total=len(files)) |
351 source = lfutil.findfile(rsrc, hash) |
351 source = lfutil.findfile(rsrc, hash) |
352 if not source: |
352 if not source: |
353 raise error.Abort(_('largefile %s missing from store' |
353 raise error.Abort(_('largefile %s missing from store' |
354 ' (needs to be uploaded)') % hash) |
354 ' (needs to be uploaded)') % hash) |