comparison mercurial/revlog.py @ 47086:8bd769b5c941

sidedata: move documentation about sidedata helpers to sidedata module Differential Revision: https://phab.mercurial-scm.org/D10361
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 19 Apr 2021 11:22:24 +0200
parents 3aab2330b7d3
children 5e5fad5166e6
comparison
equal deleted inserted replaced
47085:3aab2330b7d3 47086:8bd769b5c941
2700 2700
2701 In addition to the delta policy, the ``forcedeltabothparents`` 2701 In addition to the delta policy, the ``forcedeltabothparents``
2702 argument controls whether to force compute deltas against both parents 2702 argument controls whether to force compute deltas against both parents
2703 for merges. By default, the current default is used. 2703 for merges. By default, the current default is used.
2704 2704
2705 See `storageutil.emitrevisions` for the doc on `sidedata_helpers`. 2705 See `revlogutil.sidedata.get_sidedata_helpers` for the doc on
2706 `sidedata_helpers`.
2706 """ 2707 """
2707 if deltareuse not in self.DELTAREUSEALL: 2708 if deltareuse not in self.DELTAREUSEALL:
2708 raise ValueError( 2709 raise ValueError(
2709 _(b'value for deltareuse invalid: %s') % deltareuse 2710 _(b'value for deltareuse invalid: %s') % deltareuse
2710 ) 2711 )