diff -r 8792ac090e3b -r b1d694d3975e mercurial/bundle2.py --- 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