Patchwork D3483: tests: port inline extension in test-convert-cvs.t to py3

login
register
mail settings
Submitter phabricator
Date May 8, 2018, 6:23 p.m.
Message ID <4c90d0410ea20e60786ddc12359fa933@localhost.localdomain>
Download mbox | patch
Permalink /patch/31390/
State Not Applicable
Headers show

Comments

phabricator - May 8, 2018, 6:23 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa38ac7ec8e03: tests: port inline extension in test-convert-cvs.t to py3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3483?vs=8535&id=8558

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

AFFECTED FILES
  tests/test-convert-cvs.t

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/tests/test-convert-cvs.t b/tests/test-convert-cvs.t
--- a/tests/test-convert-cvs.t
+++ b/tests/test-convert-cvs.t
@@ -12,10 +12,10 @@ 
   $ echo "convert = " >> $HGRCPATH
   $ cat > cvshooks.py <<EOF
   > def cvslog(ui,repo,hooktype,log):
-  >     ui.write('%s hook: %d entries\n' % (hooktype,len(log)))
+  >     ui.write(b'%s hook: %d entries\n' % (hooktype,len(log)))
   > 
   > def cvschangesets(ui,repo,hooktype,changesets):
-  >     ui.write('%s hook: %d changesets\n' % (hooktype,len(changesets)))
+  >     ui.write(b'%s hook: %d changesets\n' % (hooktype,len(changesets)))
   > EOF
   $ hookpath=`pwd`
   $ cat <<EOF >> $HGRCPATH