[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: determining branch in post-commit hook

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-11 21:23:20 CET

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
Received on Thu Jan 11 22:54:41 2007

This is an archived mail posted to the Subversion Users mailing list.