[PATCH 2 of 8 "] manifestcache: further fix to debug command output

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Mar 15 07:43:24 EDT 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1552559091 0
#      Thu Mar 14 10:24:51 2019 +0000
# Node ID c6026351ed8758dc931f5caf04dfe2b77d31cd7a
# Parent  9cad39da136fbe2e4c2023e6407847bd67b96041
# EXP-Topic manifestcache
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r c6026351ed87
manifestcache: further fix to debug command output

Removing more capital letters. The output will get a test once other issues get
fixed.

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1489,7 +1489,7 @@ def debugmanifestfulltextcache(ui, repo,
             ui.write(_('cache empty\n'))
         else:
             ui.write(
-                _('Cache contains %d manifest entries, in order of most to '
+                _('cache contains %d manifest entries, in order of most to '
                   'least recent:\n') % (len(cache),))
             totalsize = 0
             for nodeid in cache:
@@ -1501,7 +1501,7 @@ def debugmanifestfulltextcache(ui, repo,
                     hex(nodeid), util.bytecount(size)))
             ondisk = cache._opener.stat('manifestfulltextcache').st_size
             ui.write(
-                _('Total cache data size %s, on-disk %s\n') % (
+                _('total cache data size %s, on-disk %s\n') % (
                     util.bytecount(totalsize), util.bytecount(ondisk))
             )
 


More information about the Mercurial-devel mailing list