# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-04-13 20:36:03 # Node ID 2a42ca2679e211b9cca714a4f45320725aa9149e # Parent 701c261fba838b3ddbebce8fe7b54fea4807bd42 py3: add b'' prefixes to make values bytes # skip-blame beacuse just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3329 diff --git a/tests/test-clone-cgi.t b/tests/test-clone-cgi.t --- a/tests/test-clone-cgi.t +++ b/tests/test-clone-cgi.t @@ -17,7 +17,7 @@ initialize repository > from mercurial import demandimport; demandimport.enable() > from mercurial.hgweb import hgweb > from mercurial.hgweb import wsgicgi - > application = hgweb("test", "Empty test repository") + > application = hgweb(b"test", b"Empty test repository") > wsgicgi.launch(application) > HGWEB $ chmod 755 hgweb.cgi diff --git a/tests/test-clone.t b/tests/test-clone.t --- a/tests/test-clone.t +++ b/tests/test-clone.t @@ -559,8 +559,8 @@ iterable in addbranchrevs() $ cat < simpleclone.py > from mercurial import ui, hg > myui = ui.ui.load() - > repo = hg.repository(myui, 'a') - > hg.clone(myui, {}, repo, dest="ua") + > repo = hg.repository(myui, b'a') + > hg.clone(myui, {}, repo, dest=b"ua") > EOF $ $PYTHON simpleclone.py @@ -573,8 +573,8 @@ iterable in addbranchrevs() > from mercurial import ui, hg, extensions > myui = ui.ui.load() > extensions.loadall(myui) - > repo = hg.repository(myui, 'a') - > hg.clone(myui, {}, repo, dest="ua", branch=["stable",]) + > repo = hg.repository(myui, b'a') + > hg.clone(myui, {}, repo, dest=b"ua", branch=[b"stable",]) > EOF $ $PYTHON branchclone.py