comparison mercurial/debugcommands.py @ 41940:70d2d47314e5

manifestcache: test and fix some output of the debug command The message was lacking an end of line. In addition we do not capitalize output in Mercurial.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Mar 2019 09:11:18 +0000
parents aaad36b88298
children 08fad2ca4eb6
comparison
equal deleted inserted replaced
41939:7e95ade0f369 41940:70d2d47314e5
1484 except error.LookupError as e: 1484 except error.LookupError as e:
1485 raise error.Abort(e, hint="Check your manifest node id") 1485 raise error.Abort(e, hint="Check your manifest node id")
1486 manifest.read() # stores revisision in cache too 1486 manifest.read() # stores revisision in cache too
1487 1487
1488 if not len(cache): 1488 if not len(cache):
1489 ui.write(_('Cache empty')) 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