Mercurial > p > roundup > code
view scripts/notify-roundup/git/post-commit @ 4206:bc479a7ea540 gsoc-2009
Implemented provisional bzr postcommit hook
| author | Pygi <pygi@users.sourceforge.net> |
|---|---|
| date | Mon, 13 Jul 2009 18:24:27 +0000 |
| parents | 1c3380e5590a |
| children |
line wrap: on
line source
#!/bin/sh # # An example hook script that is called after a successful # commit is made. # # It is used for Roundup notification after a commit. PYTHON=/usr/bin/python NOTIFY=/path/to/your/notify-roundup.py CONFIG=/path/to/your/notify-roundup.ini REPOS=`/bin/pwd` REV="cd `/bin/pwd` ; /usr/bin/git log --pretty=format:%h | head -n1 " PYTHONPATH=/path/to/your/roundup/instance "$PYTHON" "$NOTIFY" "$CONFIG" "$REPOS" "$REV" : Nothing
