You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joseph Van Quakebeke <jo...@Ingenix.com> on 2009/01/07 17:49:23 UTC
Best Pratices
All;
Now that I have the access file issue fixed. I am working on some post-commit hooks and I was wondering about the following:
1. Do people use a post checkin hook to auto update the hooks directory?
2. Along with 1, if you have more than 1 repo do you have 1 place where you keep your hooks and have the post checkin hook do the update to multiple locations?
3. Any problems with post checkin update?
I looked through the SVN book and user group but I didn't see any ideas. If this has been asked before, I apologize.
Thank you,
Thanks
Joe
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1010192
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: Best Pratices
Posted by Giulio T <gi...@uk.linedata.com>.
> Now that I have the access file issue fixed. I am working on some post-
> commit hooks and I was wondering about the following:
> 1. Do people use a post checkin hook to auto update the hooks directory?
> 2. Along with 1, if you have more than 1 repo do you have 1 place where
> you keep your hooks and have the post checkin hook do the update to
> multiple locations?
> 3. Any problems with post checkin update?
>
> I looked through the SVN book and user group but I didn't see any ideas.
> If this has been asked before, I apologize.
> Thank you,
> Thanks
> Joe
Hi Joe,
I have 5 "code" repositories and 1 "hook" repository. All "code" repositories' hooks are symbolic links to a WC of the "hook" repository (I use Linux).
When I commit anything to the "hook" repository its post-commit hooks automatically updates the "hook" WC.
It has happen in the past that the post-commit hook basically updates itself, but I have never had a problem.
Giulio
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1011411
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].