##// END OF EJS Templates
tests: port inline extension in test-convert-cvs.t to py3...
Augie Fackler -
r37902:a38ac7ec default
parent child Browse files
Show More
@@ -12,10 +12,10 b''
12 $ echo "convert = " >> $HGRCPATH
12 $ echo "convert = " >> $HGRCPATH
13 $ cat > cvshooks.py <<EOF
13 $ cat > cvshooks.py <<EOF
14 > def cvslog(ui,repo,hooktype,log):
14 > def cvslog(ui,repo,hooktype,log):
15 > ui.write('%s hook: %d entries\n' % (hooktype,len(log)))
15 > ui.write(b'%s hook: %d entries\n' % (hooktype,len(log)))
16 >
16 >
17 > def cvschangesets(ui,repo,hooktype,changesets):
17 > def cvschangesets(ui,repo,hooktype,changesets):
18 > ui.write('%s hook: %d changesets\n' % (hooktype,len(changesets)))
18 > ui.write(b'%s hook: %d changesets\n' % (hooktype,len(changesets)))
19 > EOF
19 > EOF
20 $ hookpath=`pwd`
20 $ hookpath=`pwd`
21 $ cat <<EOF >> $HGRCPATH
21 $ cat <<EOF >> $HGRCPATH
General Comments 0
You need to be logged in to leave comments. Login now