On 9/29/2010 11:11 AM, Alan Barrett wrote:
On Tue, 28 Sep 2010, Les Mikesell wrote:
It would have made sense to me to have the config/scripts versioned
but I've forgotten how that worked in CVS and I'm too lazy to look
it up. And I suppose it would be hard to change now in a
backwards-compatible way since svn doesn't keep the head version as
a normal file like cvs/rcs.

I make my hooks directory a working copy of an appropriate subdirecrory
in the repository (or in another repository), and use a post-commit
hook to run "svn update" in the hooks dir when it sees a commit to the
relevant path.

Does that cause trouble when the post-commit script itself is updated while running - or does svn always write new files and rename when complete which should at least work on unix-like systems?

--
  Les Mikesell
   lesmikes...@gmail.com


Reply via email to