changeset 22953 | b1d694d3975e |
parent 22661 | 9ea2913e7c41 |
child 23001 | 4df9b5e62f70 |
--- a/mercurial/bundle2.py Tue Oct 14 13:25:13 2014 -0700 +++ b/mercurial/bundle2.py Tue Oct 14 13:26:01 2014 -0700 @@ -788,7 +788,7 @@ Exists to allow extensions (like evolution) to mutate the capabilities. """ caps = capabilities.copy() - if obsolete._enabled: + if obsolete.isenabled(repo, obsolete.exchangeopt): supportedformat = tuple('V%i' % v for v in obsolete.formats) caps['b2x:obsmarkers'] = supportedformat return caps