##// END OF EJS Templates
manifestcache: further fix to debug command output...
marmoute -
r42107:08fad2ca default
parent child Browse files
Show More
@@ -1489,7 +1489,7 def debugmanifestfulltextcache(ui, repo,
1489 ui.write(_('cache empty\n'))
1489 ui.write(_('cache empty\n'))
1490 else:
1490 else:
1491 ui.write(
1491 ui.write(
1492 _('Cache contains %d manifest entries, in order of most to '
1492 _('cache contains %d manifest entries, in order of most to '
1493 'least recent:\n') % (len(cache),))
1493 'least recent:\n') % (len(cache),))
1494 totalsize = 0
1494 totalsize = 0
1495 for nodeid in cache:
1495 for nodeid in cache:
@@ -1501,7 +1501,7 def debugmanifestfulltextcache(ui, repo,
1501 hex(nodeid), util.bytecount(size)))
1501 hex(nodeid), util.bytecount(size)))
1502 ondisk = cache._opener.stat('manifestfulltextcache').st_size
1502 ondisk = cache._opener.stat('manifestfulltextcache').st_size
1503 ui.write(
1503 ui.write(
1504 _('Total cache data size %s, on-disk %s\n') % (
1504 _('total cache data size %s, on-disk %s\n') % (
1505 util.bytecount(totalsize), util.bytecount(ondisk))
1505 util.bytecount(totalsize), util.bytecount(ondisk))
1506 )
1506 )
1507
1507
General Comments 0
You need to be logged in to leave comments. Login now