D2272: py3: add b'' to config options in test extension

2018-02-14 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG30cc9f9780df: py3: add b'' to config options in 
test extension (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2272?vs=5727&id=5734

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

AFFECTED FILES
  tests/sshprotoext.py

CHANGE DETAILS

diff --git a/tests/sshprotoext.py b/tests/sshprotoext.py
--- a/tests/sshprotoext.py
+++ b/tests/sshprotoext.py
@@ -22,8 +22,8 @@
 configtable = {}
 configitem = registrar.configitem(configtable)
 
-configitem('sshpeer', 'mode', default=None)
-configitem('sshpeer', 'handshake-mode', default=None)
+configitem(b'sshpeer', b'mode', default=None)
+configitem(b'sshpeer', b'handshake-mode', default=None)
 
 class bannerserver(wireprotoserver.sshserver):
 """Server that sends a banner to stdout."""



To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D2272: py3: add b'' to config options in test extension

2018-02-14 Thread indygreg (Gregory Szorc)
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame because just b'' prefixes

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/sshprotoext.py

CHANGE DETAILS

diff --git a/tests/sshprotoext.py b/tests/sshprotoext.py
--- a/tests/sshprotoext.py
+++ b/tests/sshprotoext.py
@@ -22,8 +22,8 @@
 configtable = {}
 configitem = registrar.configitem(configtable)
 
-configitem('sshpeer', 'mode', default=None)
-configitem('sshpeer', 'handshake-mode', default=None)
+configitem(b'sshpeer', b'mode', default=None)
+configitem(b'sshpeer', b'handshake-mode', default=None)
 
 class bannerserver(wireprotoserver.sshserver):
 """Server that sends a banner to stdout."""



To: indygreg, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel