equal
deleted
inserted
replaced
196 exchange._pushb2ctxcheckheads(pushop, bundler) |
196 exchange._pushb2ctxcheckheads(pushop, bundler) |
197 return orig(pushop, bundler) |
197 return orig(pushop, bundler) |
198 |
198 |
199 def wireprotocaps(orig, repo, proto): |
199 def wireprotocaps(orig, repo, proto): |
200 caps = orig(repo, proto) |
200 caps = orig(repo, proto) |
201 if repo.peer().capable('topics'): |
201 if common.hastopicext(repo) and repo.peer().capable('topics'): |
202 caps.append('topics') |
202 caps.append('topics') |
203 return caps |
203 return caps |
204 |
204 |
205 def modsetup(ui): |
205 def modsetup(ui): |
206 """run at uisetup time to install all destinations wrapping""" |
206 """run at uisetup time to install all destinations wrapping""" |