hgext3rd/__init__.py
author Raphaël Gomès <rgomes@octobus.net>
Mon, 15 Feb 2021 11:08:28 +0100
changeset 46717 502e795b55ac
parent 43076 2372284d9457
child 48875 6000f5b25c9b
permissions -rw-r--r--
revlog-index: add `replace_sidedata_info` method During a `pull` operation where the server does not provide sidedata, the client that requires it should generate them on-the-fly. In the generic case, we need to wait for the changelog + manifests + filelogs to be added, since we don't know what the sidedata computers might need: this means rewriting the sidedata of index entries from within the pull transaction (and no further back) right after we've added them. Both Python and C implementations only allow for rewriting the sidedata offset and length for revs within the transaction where they were created. Differential Revision: https://phab.mercurial-scm.org/D10031

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)