Mercurial > public > mercurial-scm > hg-stable
diff hgext/remotenames.py @ 50827:5ac5f16277a9
wrapfunction: use sysstr instead of bytes as argument in "remotenames"
This is as valid and simpler, it will help us to eventually get ride of
`safehasattr`.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 03 Feb 2023 04:25:43 +0100 |
parents | 33872fec41e7 |
children | 4b4253b3ec0a |
line wrap: on
line diff
--- a/hgext/remotenames.py Fri Feb 03 04:25:07 2023 +0100 +++ b/hgext/remotenames.py Fri Feb 03 04:25:43 2023 +0100 @@ -255,7 +255,7 @@ def extsetup(ui): - extensions.wrapfunction(bookmarks, b'_printbookmarks', wrapprintbookmarks) + extensions.wrapfunction(bookmarks, '_printbookmarks', wrapprintbookmarks) def reposetup(ui, repo):