--- a/hgext/largefiles/lfcommands.py Wed Jul 04 02:21:04 2012 +0200
+++ b/hgext/largefiles/lfcommands.py Sun Jun 24 20:36:22 2012 +0200
@@ -340,7 +340,11 @@
store = basestore._openstore(rsrc, rdst, put=True)
at = 0
- files = filter(lambda h: not store.exists(h), files)
+ ui.debug("sending statlfile command for %d largefiles\n" % len(files))
+ retval = store.exists(files)
+ files = filter(lambda h: not retval[h], files)
+ ui.debug("%d largefiles need to be uploaded\n" % len(files))
+
for hash in files:
ui.progress(_('uploading largefiles'), at, unit='largefile',
total=len(files))