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