# HG changeset patch # User Pierre-Yves David # Date 2023-02-03 03:10:22 # Node ID 335aeb3d670b9bd717902bc75f8709f51df741fe # Parent 3c8a31be81df3a0996dc607987fb99b53f851d12 wrapfunction: use sysstr instead of bytes as argument in "clonebundles" This is as valid and simpler, it will help us to eventually get ride of `safehasattr`. diff --git a/hgext/clonebundles.py b/hgext/clonebundles.py --- a/hgext/clonebundles.py +++ b/hgext/clonebundles.py @@ -349,7 +349,7 @@ def capabilities(orig, repo, proto): def extsetup(ui): - extensions.wrapfunction(wireprotov1server, b'_capabilities', capabilities) + extensions.wrapfunction(wireprotov1server, '_capabilities', capabilities) # logic for bundle auto-generation