Mercurial > hg
comparison hgext/largefiles/__init__.py @ 50787:584fc92dd8d7
wrapfunction: use sysstr instead of bytes as argument in "narrow"
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:24:40 +0100 |
parents | bf92386f76fd |
children |
comparison
equal
deleted
inserted
replaced
50786:dde4b55a0785 | 50787:584fc92dd8d7 |
---|---|
191 # override some extensions' stuff as well | 191 # override some extensions' stuff as well |
192 for name, module in extensions.extensions(): | 192 for name, module in extensions.extensions(): |
193 if name == b'rebase': | 193 if name == b'rebase': |
194 # TODO: teach exthelper to handle this | 194 # TODO: teach exthelper to handle this |
195 extensions.wrapfunction( | 195 extensions.wrapfunction( |
196 module, b'rebase', overrides.overriderebasecmd | 196 module, 'rebase', overrides.overriderebasecmd |
197 ) | 197 ) |
198 | 198 |
199 | 199 |
200 revsetpredicate = eh.revsetpredicate | 200 revsetpredicate = eh.revsetpredicate |