##// END OF EJS Templates
manifestcache: stop altering the lru cache order while displaying it...
marmoute -
r42125:e3307243 default
parent child Browse files
Show More
@@ -1503,7 +1503,7 b' def debugmanifestfulltextcache(ui, repo,'
1503 totalsize = 0
1503 totalsize = 0
1504 for nodeid in cache:
1504 for nodeid in cache:
1505 # Use cache.get to not update the LRU order
1505 # Use cache.get to not update the LRU order
1506 data = cache.get(nodeid)
1506 data = cache.peek(nodeid)
1507 size = len(data)
1507 size = len(data)
1508 totalsize += size + 24 # 20 bytes nodeid, 4 bytes size
1508 totalsize += size + 24 # 20 bytes nodeid, 4 bytes size
1509 ui.write(_('id: %s, size %s\n') % (
1509 ui.write(_('id: %s, size %s\n') % (
General Comments 0
You need to be logged in to leave comments. Login now