Mercurial > hg
diff mercurial/filelog.py @ 49766:152d9c011bcd
changegroup: add `delta_base_reuse_policy` argument
The argument available through function from changegroup.apply to
`revlog.apply` allow to override the revlog configuration in terms of
delta-base-reuse policy when searching for a delta to store a revision.
It will be put to use in the next changesets.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 03 Dec 2022 01:31:23 +0100 |
parents | 35d4c2124073 |
children | 87f0155d68aa |
line wrap: on
line diff
--- a/mercurial/filelog.py Sat Dec 03 01:16:22 2022 +0100 +++ b/mercurial/filelog.py Sat Dec 03 01:31:23 2022 +0100 @@ -154,6 +154,7 @@ duplicaterevisioncb=None, maybemissingparents=False, debug_info=None, + delta_base_reuse_policy=None, ): if maybemissingparents: raise error.Abort( @@ -175,6 +176,7 @@ addrevisioncb=addrevisioncb, duplicaterevisioncb=duplicaterevisioncb, debug_info=debug_info, + delta_base_reuse_policy=delta_base_reuse_policy, ) def getstrippoint(self, minlink):