Announcement

Collapse
No announcement yet.

mailing options in post-commit hook script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • mailing options in post-commit hook script

    Hi,

    I'm new here so if I've posted at an incorrect place - please inform me.

    I would like to know how I could change the hook script so that me and my colleagues receive an e-mail with the branch name after one of us commited something.

    Right now it emails us with just the head, and the revision, and we would like to see the branch as well.

    This is what we have in the post-commit.tmpl script:

    ---
    REPOS="$1"
    REV="$2"

    mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf
    ---

    Help would be appreciated - thank you
Working...
X