--- a/mercurial/repair.py Sun Apr 11 23:54:35 2021 +0200
+++ b/mercurial/repair.py Mon Apr 12 03:01:04 2021 +0200
@@ -28,11 +28,11 @@
pycompat,
requirements,
scmutil,
- util,
)
from .utils import (
hashutil,
stringutil,
+ urlutil,
)
@@ -245,7 +245,7 @@
tmpbundleurl = b'bundle:' + vfs.join(tmpbundlefile)
txnname = b'strip'
if not isinstance(gen, bundle2.unbundle20):
- txnname = b"strip\n%s" % util.hidepassword(tmpbundleurl)
+ txnname = b"strip\n%s" % urlutil.hidepassword(tmpbundleurl)
with repo.transaction(txnname) as tr:
bundle2.applybundle(
repo, gen, tr, source=b'strip', url=tmpbundleurl