hgext/clonebundles.py
changeset 31146 16d8bec0177d
parent 29841 d5883fd055c6
child 32454 702af1ad3b18
equal deleted inserted replaced
31145:11a97785f75c 31146:16d8bec0177d
   175     caps = orig(repo, proto)
   175     caps = orig(repo, proto)
   176 
   176 
   177     # Only advertise if a manifest exists. This does add some I/O to requests.
   177     # Only advertise if a manifest exists. This does add some I/O to requests.
   178     # But this should be cheaper than a wasted network round trip due to
   178     # But this should be cheaper than a wasted network round trip due to
   179     # missing file.
   179     # missing file.
   180     if repo.opener.exists('clonebundles.manifest'):
   180     if repo.vfs.exists('clonebundles.manifest'):
   181         caps.append('clonebundles')
   181         caps.append('clonebundles')
   182 
   182 
   183     return caps
   183     return caps
   184 
   184 
   185 def extsetup(ui):
   185 def extsetup(ui):