How to create project specific respository post-commit actions

Posted by Pacifika on Stack Overflow See other posts from Stack Overflow or by Pacifika
Published on 2008-09-16T11:25:28Z Indexed on 2010/03/29 3:23 UTC
Read the original article Hit count: 236

Filed under:
|
|

Presently, we've got several main projects each in their own repository. We will have to version-control up to a dozen additional projects. VisualSVN recommends to create 1 respository for our company and then vc all projects inside that.

It's a good practice to create one repository for the entire company or department and store all your projects in this repository. Creating separate repository for each project is not a good idea because in that case you will not be able to perform Subversion operations like copy, diff and merge cross-project. VisualSvn.com

Currently we're using post-commit hooks to update the testing server with the latest commit and do other project specific actions (such as emailing certain people for one project but not for others) depending on which project has been committed.

As post-commit runs for the whole repository, is this still possible in such a situation? How would I go about decerning which project has changes? filter folder structure?

© Stack Overflow or respective owner

Related posts about svn

Related posts about version-control