Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-13-2007, 02:37 PM   #1
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
subversion post-commit

Hi there,

I've been reading about email notifications in subversion and it seems that using post-commit in the "hooks" directory is the way to achieve this. Setting this up seems real easy but my question is how do I run this post-commit hook ONLY for a certain branch? If a user commits something in "development" I want to run post-commit. However, if a user commits something in a different tree, do NOT run the post-commit. I've been scouring the internet and can't find any solid examples on this setup. Thanks.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion hooks, auto-commit for all users doesn't work garnser Linux - General 0 02-12-2007 02:47 PM
subversion post-commit hook problems pajamabama Linux - Server 2 01-19-2007 05:14 PM
subversion commit failures irfanhab Linux - Software 0 06-05-2006 09:43 PM
subversion: commit failed kenneho Linux - Software 0 09-07-2005 01:02 PM
Subversion -> commit? hylke Linux - Newbie 1 05-15-2005 08:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration