# HG changeset patch # User Pierre-Yves David # Date 1693349268 -7200 # Node ID dddd8e253c95b5ac4b092a7ab375e1aa6d87e232 # Parent 9f3e4b60bfe60a7026021af1b5b2551bbcb6ef48 path-suboption: use str for "delta_reuse_policy" suboptions That second argument refer to an attribute and do not needs to be bytes. diff -r 9f3e4b60bfe6 -r dddd8e253c95 mercurial/utils/urlutil.py --- 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):