Mercurial > public > mercurial-scm > hg
comparison mercurial/manifest.py @ 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 | 642e31cb55f0 |
children | 9cac281eb9c0 |
comparison
equal
deleted
inserted
replaced
49203:f923bdd7477d | 49206:b5858e02e3ba |
---|---|
1587 self._treeondisk = optiontreemanifest or treemanifest | 1587 self._treeondisk = optiontreemanifest or treemanifest |
1588 | 1588 |
1589 self._fulltextcache = manifestfulltextcache(cachesize) | 1589 self._fulltextcache = manifestfulltextcache(cachesize) |
1590 | 1590 |
1591 if tree: | 1591 if tree: |
1592 assert self._treeondisk, b'opts is %r' % opts | 1592 assert self._treeondisk, (tree, b'opts is %r' % opts) |
1593 | 1593 |
1594 radix = b'00manifest' | 1594 radix = b'00manifest' |
1595 if tree: | 1595 if tree: |
1596 radix = b"meta/" + tree + radix | 1596 radix = b"meta/" + tree + radix |
1597 | 1597 |