diff mercurial/ui.py @ 35951: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 72de5c504833
children efbd04238029
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