I have a repository that has the following directories:
The trunk directory contains the main development line. I created a post-commit hook script for a repository that updates the working copy (trunk) when the user returns to the repository.
It looks something like this:
/usr/bin/svn update /path/to/a/working/copy
I just created a code branch as I am about to start some major changes, but noticed that when I commit my changes to the branches, it calls the binding after commit and updates the working copy (copy of the trunk).
Is there a way to change either my post-commit hook script or the parameter I can do that will only update the working copy if the commit was made to the trunk directory, and not some other directory?
source
share