diff -r 72284d296b02 -r a38ac7ec8e03 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 < 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 <> $HGRCPATH