##// END OF EJS Templates
remotefilelog: fix format str, blobsize isn't always a #, can be "(missing)"...
Kyle Lippincott -
r41973:94168550 default
parent child Browse files
Show More
@@ -16,6 +16,7 b' from mercurial import ('
16 error,
16 error,
17 filelog,
17 filelog,
18 node as nodemod,
18 node as nodemod,
19 pycompat,
19 revlog,
20 revlog,
20 )
21 )
21 from . import (
22 from . import (
@@ -276,11 +277,11 b' def debugdatapack(ui, *paths, **opts):'
276 totalblobsize += blobsize
277 totalblobsize += blobsize
277 else:
278 else:
278 blobsize = "(missing)"
279 blobsize = "(missing)"
279 ui.write("%s %s %s%d\n" % (
280 ui.write("%s %s %s%s\n" % (
280 hashformatter(node),
281 hashformatter(node),
281 hashformatter(deltabase),
282 hashformatter(deltabase),
282 ('%d' % deltalen).ljust(14),
283 ('%d' % deltalen).ljust(14),
283 blobsize))
284 pycompat.bytestr(blobsize)))
284
285
285 if filename is not None:
286 if filename is not None:
286 printtotals()
287 printtotals()
General Comments 0
You need to be logged in to leave comments. Login now