hgext/clonebundles.py
changeset 31156 16d8bec0177d
parent 29852 d5883fd055c6
child 32127 702af1ad3b18
--- a/hgext/clonebundles.py	Fri Aug 05 13:53:45 2016 +0200
+++ b/hgext/clonebundles.py	Thu Mar 02 03:23:18 2017 +0100
@@ -177,7 +177,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.opener.exists('clonebundles.manifest'):
+    if repo.vfs.exists('clonebundles.manifest'):
         caps.append('clonebundles')
 
     return caps