As part of our automated build process, I provide a list of branches/versions that can be compiled. With Visual Source Safe I just wrote a script to use the SourceOffSite client and read all the versionNo.h’s from certain folders and generate an XML file. With SVN it seems like I could improve on that by making it so that any commits of “versionNo.h” would automatically set a property on the top-level folder and then my build tool could just read properties rather than having to fetch versionNo.h from each folder and scan it.
Only I’m new to SVN so … Would I do that client side or in a start commit hook or a pre commit hook?
One Comment
I think you want post commit because pre and start will both fire even if the commit fails.