##// END OF EJS Templates
test-convert-cvs: make test compatible with chg...
Saurabh Singh -
r34450:47b9c572 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 > print("%s hook: %d entries"%(hooktype,len(log)))
15 > ui.write('%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 > print("%s hook: %d changesets"%(hooktype,len(changesets)))
18 > ui.write('%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