diff -r 74271829ddc0 -r 80f32ec8653a hgext/clonebundles.py --- a/hgext/clonebundles.py Thu Oct 15 15:57:36 2020 +0200 +++ b/hgext/clonebundles.py Wed Oct 14 17:46:28 2020 +0200 @@ -205,6 +205,7 @@ from __future__ import absolute_import from mercurial import ( + bundlecaches, extensions, wireprotov1server, ) @@ -218,7 +219,7 @@ # Only advertise if a manifest exists. This does add some I/O to requests. # But this should be cheaper than a wasted network round trip due to # missing file. - if repo.vfs.exists(b'clonebundles.manifest'): + if repo.vfs.exists(bundlecaches.CB_MANIFEST_FILE): caps.append(b'clonebundles') return caps