Mercurial > hg
changeset 50904:9f3e4b60bfe6
path-suboption: use str for "multi_urls" path 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:16 +0200 |
parents | e054898624db |
children | dddd8e253c95 |
files | mercurial/utils/urlutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/utils/urlutil.py Fri Sep 01 13:08:02 2023 +0200 +++ b/mercurial/utils/urlutil.py Wed Aug 30 00:47:16 2023 +0200 @@ -775,7 +775,7 @@ return DELTA_REUSE_POLICIES.get(value) -@pathsuboption(b'multi-urls', b'multi_urls', display=display_bool) +@pathsuboption(b'multi-urls', 'multi_urls', display=display_bool) def multiurls_pathoption(ui, path, value): res = stringutil.parsebool(value) if res is None: