# HG changeset patch # User Pierre-Yves David # Date 2021-04-06 01:23:46 # Node ID b5858e02e3bab421b6f2c27f02a1e3935f704bc8 # Parent f923bdd7477d3b02feb5dbd14001aa8580bdddef 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. diff --git a/mercurial/manifest.py b/mercurial/manifest.py --- a/mercurial/manifest.py +++ b/mercurial/manifest.py @@ -1589,7 +1589,7 @@ class manifestrevlog: 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: