equal
deleted
inserted
replaced
343 for hash in files: |
343 for hash in files: |
344 ui.progress(_('uploading largefiles'), at, unit='largefile', |
344 ui.progress(_('uploading largefiles'), at, unit='largefile', |
345 total=len(files)) |
345 total=len(files)) |
346 source = lfutil.findfile(rsrc, hash) |
346 source = lfutil.findfile(rsrc, hash) |
347 if not source: |
347 if not source: |
348 raise util.Abort(_('Missing largefile %s needs to be uploaded') |
348 raise util.Abort(_('largefile %s missing from store' |
349 % hash) |
349 ' (needs to be uploaded)') % hash) |
350 # XXX check for errors here |
350 # XXX check for errors here |
351 store.put(source, hash) |
351 store.put(source, hash) |
352 at += 1 |
352 at += 1 |
353 ui.progress(_('uploading largefiles'), None) |
353 ui.progress(_('uploading largefiles'), None) |
354 |
354 |