equal
deleted
inserted
replaced
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): |