Closed by commit rHG05881d002cb2: lfs: add "bytes" as the unit to the upload/download progress bar (authored by mharbison72). This revision was automatically updated to reflect the committed changes.
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7872?vs=19264&id=19272 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7872/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7872 AFFECTED FILES hgext/lfs/blobstore.py CHANGE DETAILS diff --git a/hgext/lfs/blobstore.py b/hgext/lfs/blobstore.py --- a/hgext/lfs/blobstore.py +++ b/hgext/lfs/blobstore.py @@ -588,7 +588,9 @@ else: oids = transfer(sorted(objects, key=lambda o: o.get(b'oid'))) - with self.ui.makeprogress(topic, total=total) as progress: + with self.ui.makeprogress( + topic, unit=_(b"bytes"), total=total + ) as progress: progress.update(0) processed = 0 blobs = 0 To: mharbison72, #hg-reviewers, pulkit Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel