equal
deleted
inserted
replaced
363 store = storefactory.openstore(rsrc, rdst, put=True) |
363 store = storefactory.openstore(rsrc, rdst, put=True) |
364 |
364 |
365 at = 0 |
365 at = 0 |
366 ui.debug("sending statlfile command for %d largefiles\n" % len(files)) |
366 ui.debug("sending statlfile command for %d largefiles\n" % len(files)) |
367 retval = store.exists(files) |
367 retval = store.exists(files) |
368 files = filter(lambda h: not retval[h], files) |
368 files = [h for h in files if not retval[h]] |
369 ui.debug("%d largefiles need to be uploaded\n" % len(files)) |
369 ui.debug("%d largefiles need to be uploaded\n" % len(files)) |
370 |
370 |
371 for hash in files: |
371 for hash in files: |
372 ui.progress(_('uploading largefiles'), at, unit=_('files'), |
372 ui.progress(_('uploading largefiles'), at, unit=_('files'), |
373 total=len(files)) |
373 total=len(files)) |