Mercurial > public > mercurial-scm > hg
diff tests/test-convert-cvs.t @ 33721:24849d53697d
tests: clean up many print statements to be print functions instead
Differential Revision: https://phab.mercurial-scm.org/D294
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Jun 2017 14:22:25 -0400 |
parents | 0823f0983eaa |
children | 47b9c572ca32 |
line wrap: on
line diff
--- a/tests/test-convert-cvs.t Thu Jun 15 13:32:32 2017 -0400 +++ b/tests/test-convert-cvs.t Thu Jun 15 14:22:25 2017 -0400 @@ -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)) + > print("%s hook: %d entries"%(hooktype,len(log))) > > def cvschangesets(ui,repo,hooktype,changesets): - > print "%s hook: %d changesets"%(hooktype,len(changesets)) + > print("%s hook: %d changesets"%(hooktype,len(changesets))) > EOF $ hookpath=`pwd` $ cat <<EOF >> $HGRCPATH