changeset 25845:7e3bb3e1bfa7

bundle2: fix type of experimental option
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:56:06 -0500
parents 18541e9510c5
children c55eac3f388d
files mercurial/repair.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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')