On Jun 23, 2010, at 01:30, Kevin Wu wrote: > I wrote my post-commit hook for the trunk. But whenever something is > committed to one branch, the hook is triggered. How to let post-commit hook > discriminate the branch and the trunk?
In the hook, run "svnlook dirs-changed" on the transaction, then inspect its output to see if the commit is affecting the trunk or not.