--- a/mercurial/repair.py Thu Jun 25 17:54:55 2015 -0500
+++ b/mercurial/repair.py Thu Jun 25 17:56:06 2015 -0500
@@ -13,7 +13,7 @@
def _bundle(repo, bases, heads, node, suffix, compress=True):
"""create a bundle with the specified revisions as a backup"""
- usebundle2 = (repo.ui.config('experimental', 'bundle2-exp', True) and
+ usebundle2 = (repo.ui.configbool('experimental', 'bundle2-exp', True) and
repo.ui.config('experimental', 'strip-bundle2-version'))
if usebundle2:
cgversion = repo.ui.config('experimental', 'strip-bundle2-version')