diff hgext/git/dirstate.py @ 50779:39eb3aab3e63

wrapfunction: use sysstr instead of bytes as argument in the "git" extension 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 Mon, 10 Jul 2023 16:47:25 +0200
parents a6e0b7d4ae9d
children 79cd29d598af
line wrap: on
line diff
--- a/hgext/git/dirstate.py	Fri Feb 03 04:19:06 2023 +0100
+++ b/hgext/git/dirstate.py	Mon Jul 10 16:47:25 2023 +0200
@@ -47,7 +47,7 @@
     return result, warnings
 
 
-extensions.wrapfunction(matchmod, b'readpatternfile', readpatternfile)
+extensions.wrapfunction(matchmod, 'readpatternfile', readpatternfile)
 
 
 _STATUS_MAP = {}