Mercurial > hg-stable
changeset 50928:dddd8e253c95
path-suboption: use str for "delta_reuse_policy" suboptions
That second argument refer to an attribute and do not needs to be bytes.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 30 Aug 2023 00:47:48 +0200 |
parents | 9f3e4b60bfe6 |
children | 5f3c2adcc69c |
files | mercurial/utils/urlutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/utils/urlutil.py Wed Aug 30 00:47:16 2023 +0200 +++ b/mercurial/utils/urlutil.py Wed Aug 30 00:47:48 2023 +0200 @@ -758,7 +758,7 @@ @pathsuboption( b'pulled-delta-reuse-policy', - b'delta_reuse_policy', + 'delta_reuse_policy', display=DELTA_REUSE_POLICIES_NAME.get, ) def delta_reuse_policy(ui, path, value):