Mercurial > hg
diff hgext/remotefilelog/basestore.py @ 41259:194e43c2bac9
remotefilelog: fix some bytes/str portability issues for Python 3
A few remotefilelog tests still fail on Python 3, but it's a much better story
now.
Differential Revision: https://phab.mercurial-scm.org/D5609
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 16 Jan 2019 11:03:04 -0500 |
parents | 8a6995513d9a |
children | 92cf293fd93d |
line wrap: on
line diff
--- a/hgext/remotefilelog/basestore.py Wed Jan 16 11:02:20 2019 -0500 +++ b/hgext/remotefilelog/basestore.py Wed Jan 16 11:03:04 2019 -0500 @@ -383,7 +383,7 @@ removedexcess += oldpathstat.st_size progress.complete() - ui.status(_("finished: removed %s of %s files (%0.2f GB to %0.2f GB)\n") + ui.status(_("finished: removed %d of %d files (%0.2f GB to %0.2f GB)\n") % (removed, count, float(originalsize) / 1024.0 / 1024.0 / 1024.0, float(size) / 1024.0 / 1024.0 / 1024.0))