Mercurial > p > roundup > code
view scripts/notify-roundup/hg/notify-roundup @ 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 | ccb13ca51449 |
| children |
line wrap: on
line source
#!/bin/bash PYTHON=/usr/bin/python NOTIFY=/path/to/your/notify-roundup.py CONFIG=/path/to/your/notify-roundup.ini REPOS=`/bin/pwd` CMD="/usr/bin/hg log `/bin/pwd` --rev=tip" REV=`$CMD | grep changeset` PYTHONPATH=/path/to/your/roundup/instance "$PYTHON" "$NOTIFY" "$CONFIG" "$REPOS" "$REV"
