tests/test-convert-cvs.t
changeset 34449 47b9c572ca32
parent 33721 24849d53697d
child 35516 6a1a0a023fc1
--- a/tests/test-convert-cvs.t	Tue Oct 03 12:09:23 2017 -0700
+++ b/tests/test-convert-cvs.t	Tue Oct 03 12:49:28 2017 -0700
@@ -12,10 +12,10 @@
   $ echo "convert = " >> $HGRCPATH
   $ cat > cvshooks.py <<EOF
   > def cvslog(ui,repo,hooktype,log):
-  >     print("%s hook: %d entries"%(hooktype,len(log)))
+  >     ui.write('%s hook: %d entries\n' % (hooktype,len(log)))
   > 
   > def cvschangesets(ui,repo,hooktype,changesets):
-  >     print("%s hook: %d changesets"%(hooktype,len(changesets)))
+  >     ui.write('%s hook: %d changesets\n' % (hooktype,len(changesets)))
   > EOF
   $ hookpath=`pwd`
   $ cat <<EOF >> $HGRCPATH