Patchwork D3597: py3: add b'' prefixes in tests/test-hgrc.t

login
register
mail settings
Submitter phabricator
Date May 19, 2018, 7:39 p.m.
Message ID <ab9e7521174de900b0c07266fa5a0d9d@localhost.localdomain>
Download mbox | patch
Permalink /patch/31719/
State Not Applicable
Headers show

Comments

phabricator - May 19, 2018, 7:39 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1a09886ab03a: py3: add b&#039;&#039; prefixes in tests/test-hgrc.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3597?vs=8768&id=8802

REVISION DETAIL
  https://phab.mercurial-scm.org/D3597

AFFECTED FILES
  tests/test-hgrc.t

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-hgrc.t b/tests/test-hgrc.t
--- a/tests/test-hgrc.t
+++ b/tests/test-hgrc.t
@@ -199,10 +199,10 @@ 
   $ cat > plain.py <<EOF
   > from mercurial import commands, extensions
   > def _config(orig, ui, repo, *values, **opts):
-  >     ui.write('plain: %r\n' % ui.plain())
+  >     ui.write(b'plain: %r\n' % ui.plain())
   >     return orig(ui, repo, *values, **opts)
   > def uisetup(ui):
-  >     extensions.wrapcommand(commands.table, 'config', _config)
+  >     extensions.wrapcommand(commands.table, b'config', _config)
   > EOF
   $ echo "[extensions]" >> $HGRC
   $ echo "plain=./plain.py" >> $HGRC