You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Philipp Klinger <ph...@klinger.ws> on 2007/01/11 12:23:04 UTC

determining branch in post-commit hook

Hi,

I want to call a script from post-commit only if the commit was made to
a certain branch of the repository. The other part of the post-commit
script should be executed every time. I did not find any information
whether i can check which branch the commit went to. Anyone got an idea?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: determining branch in post-commit hook

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 11, 2007, at 06:23, Philipp Klinger wrote:

> I want to call a script from post-commit only if the commit was  
> made to
> a certain branch of the repository. The other part of the post-commit
> script should be executed every time. I did not find any information
> whether i can check which branch the commit went to. Anyone got an  
> idea?

Examine the revision with "svnlook dirs-changed". See if the branch  
directory is among those changed.


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org