--- a/hgext/lfs/blobstore.py Tue Jan 30 20:33:21 2018 -0500
+++ b/hgext/lfs/blobstore.py Mon Jan 29 22:09:48 2018 -0500
@@ -366,12 +366,23 @@
oids = transfer(sorted(objects, key=lambda o: o.get('oid')))
processed = 0
+ blobs = 0
for _one, oid in oids:
processed += sizes[oid]
+ blobs += 1
self.ui.progress(topic, processed, total=total)
self.ui.note(_('lfs: processed: %s\n') % oid)
self.ui.progress(topic, pos=None, total=total)
+ if blobs > 0:
+ if action == 'upload':
+ self.ui.status(_('lfs: uploaded %d files (%s)\n')
+ % (blobs, util.bytecount(processed)))
+ # TODO: coalesce the download requests, and comment this in
+ #elif action == 'download':
+ # self.ui.status(_('lfs: downloaded %d files (%s)\n')
+ # % (blobs, util.bytecount(processed)))
+
def __del__(self):
# copied from mercurial/httppeer.py
urlopener = getattr(self, 'urlopener', None)