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

Re: Post-commit on branch

From: Jason Forkey <jason_at_forkey.net>
Date: 2007-04-28 01:36:16 CEST

At Fri, 27 Apr 2007 09:08:18 +0200,
"Vincent Vanderheeren" <vincent.Vanderheeren@one-agency.be> wrote:
>
> Hi,
>
> 1. Is this possible or do I first have to merge with the central project, commit from there which will trigger the post-commit?
The post-commit script is triggered after any commit to the repository,
regardless of whether it is to the main trunk or a branch. Perhaps there is
some bug in your script that is preventing it from reaching the export line.

> 2. If the central post-commit hook is triggered, is there a way to know which branch is being committed to, so that not every branch will be exported on a
> commit of just one branch, in other words I just want the branch to be exported, and not every branch inside the central project.
>
You can run "svnlook changed" to examine what files have been changed by the
commit, then use that information to trigger an export on the appropriate
branch.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 28 01:38:27 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.