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
--- 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