changeset 49206:b5858e02e3ba

manifest: improve error message in case for tree manifest In the case where tree manifest is not enabled but we still receive an sub directory information for the manifest. The error now inform which sub-directory was passed.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 06 Apr 2021 03:23:46 +0200
parents f923bdd7477d
children 8960d8eb747b
files mercurial/manifest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/manifest.py	Fri May 13 15:19:57 2022 +0200
+++ b/mercurial/manifest.py	Tue Apr 06 03:23:46 2021 +0200
@@ -1589,7 +1589,7 @@
         self._fulltextcache = manifestfulltextcache(cachesize)
 
         if tree:
-            assert self._treeondisk, b'opts is %r' % opts
+            assert self._treeondisk, (tree, b'opts is %r' % opts)
 
         radix = b'00manifest'
         if tree: