##// END OF EJS Templates
bundle2: fix type of experimental option
Matt Mackall -
r25845:7e3bb3e1 default
parent child Browse files
Show More
@@ -13,7 +13,7 b' import errno'
13
13
14 def _bundle(repo, bases, heads, node, suffix, compress=True):
14 def _bundle(repo, bases, heads, node, suffix, compress=True):
15 """create a bundle with the specified revisions as a backup"""
15 """create a bundle with the specified revisions as a backup"""
16 usebundle2 = (repo.ui.config('experimental', 'bundle2-exp', True) and
16 usebundle2 = (repo.ui.configbool('experimental', 'bundle2-exp', True) and
17 repo.ui.config('experimental', 'strip-bundle2-version'))
17 repo.ui.config('experimental', 'strip-bundle2-version'))
18 if usebundle2:
18 if usebundle2:
19 cgversion = repo.ui.config('experimental', 'strip-bundle2-version')
19 cgversion = repo.ui.config('experimental', 'strip-bundle2-version')
General Comments 0
You need to be logged in to leave comments. Login now