py3: add b'' to tweakdefaults config string
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 04 Feb 2018 15:41:37 +0530
changeset 35911 704095e27c5c
parent 35910 b82c6dd15f5d
child 35912 78b985c75731
py3: add b'' to tweakdefaults config string The tweakdefaults config string is enclosed inside triple quotes and the transformer does not adds b'' there. # skip-blame because we are just adding b'' Differential Revision: https://phab.mercurial-scm.org/D2037
mercurial/ui.py
--- a/mercurial/ui.py	Sun Feb 04 12:00:17 2018 +0100
+++ b/mercurial/ui.py	Sun Feb 04 15:41:37 2018 +0530
@@ -45,7 +45,7 @@
                      if not c.isalnum())
 
 # The config knobs that will be altered (if unset) by ui.tweakdefaults.
-tweakrc = """
+tweakrc = b"""
 [ui]
 # The rollback command is dangerous. As a rule, don't use it.
 rollback = False