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 |
> |
|
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 |
> |
|
18 | > ui.write('%s hook: %d changesets\n' % (hooktype,len(changesets))) | |
19 | > EOF |
|
19 | > EOF | |
20 |
$ |
|
20 | $ hookpath=`pwd` | |
21 |
$ |
|
21 | $ cat <<EOF >> $HGRCPATH |
General Comments 0
You need to be logged in to leave comments.
Login now