tests: port inline extension in test-convert-cvs.t to py3
authorAugie Fackler <augie@google.com>
Fri, 27 Apr 2018 01:18:43 -0400
changeset 37885 a38ac7ec8e03
parent 37884 72284d296b02
child 37886 fe148d7544a4
tests: port inline extension in test-convert-cvs.t to py3 # skip-blame two b prefixes, nothing more Differential Revision: https://phab.mercurial-scm.org/D3483
tests/test-convert-cvs.t
--- a/tests/test-convert-cvs.t	Fri Apr 27 01:14:23 2018 -0400
+++ b/tests/test-convert-cvs.t	Fri Apr 27 01:18:43 2018 -0400
@@ -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