changeset 35911:704095e27c5c

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
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 04 Feb 2018 15:41:37 +0530
parents b82c6dd15f5d
children 78b985c75731
files mercurial/ui.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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