Maybe others will find it useful. I've set up a separate repository for the shared functions. I set up a post-commit hook batch file that does the following:
* update all projects on the development server to latest version
* then replace all instances of the shared function file with the one just commited
* commit all projects on the development server again with the message that includes the revision number of the shared functions repository.
all this along with the result of all operations, diff of what's changed, log and other basic info that i already generate gets emailed to me. If any projects are committed as a result of the shared functions commit, then they'll sent an email as well with the changes.
That is all setup, except for the post-commit bit haha as it seems any environment variables are not available in the batch files which prove an annoyance, but am sure this will be possible.
Good debugging tips