Skip to content
Snippets Groups Projects
Commit 7e3bb3e1 authored by Matt Mackall's avatar Matt Mackall
Browse files

bundle2: fix type of experimental option

parent 18541e95
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment