Windows and SVN hooks

Aug 16, 2007 10:23

If you ever need to allow edits to commit logs, all you need to do is create a pre-revprop-change hook.
Here's a simple windows hook. )

svn, work

Leave a comment

Comments 31

(The comment has been removed)

sfllaw August 17 2007, 02:11:59 UTC
This hook is only to sanity-check someone using `svnadmin setlog`.

Of course, they could just --bypass-hooks, but who would do that?

Reply

ayria August 30 2007, 20:01:23 UTC
Who indeed would just use --bypass-hooks? Of course in Windows, most people prefer to, and I from what I observe, exclusively use TortoiseSVN rather than type up some commands on the command line.

And there are only two admins for this repository anyway (including myself of course.. uh oh. ) The fewer the better though. Access is pretty restricted. Bwahahaha.

Reply


pphaneuf August 17 2007, 02:45:27 UTC
Wow, that was both stunningly geeky and amazingly unapplicable for most hackers I know.

That's not an easy feat!

And now you're not a dinosaur anymore... ;-)

Reply

ayria August 30 2007, 20:03:16 UTC
I can't help that we use Windows here for almost everything. The team opted for a Windows SVN server.

Reply


Thanks anonymous February 29 2008, 19:18:25 UTC
Useful script. Just what I was looking for. Thanks for posting it!

Reply

Re: Thanks anonymous April 14 2008, 14:39:25 UTC
I've got a problem with my pre-revprop-change.bat.
It will not execute.
It's not the file itself, no matter what I put into it, it never gets executed.
Shouldn't this hook be run every time I add/change/remove a property in the repository?

Reply


THANK YOU! anonymous June 11 2008, 19:38:59 UTC
Thank you soooooo much for the script! I've been looking for this for awhile.

--corcoranp

Reply


Thanks anonymous June 24 2008, 10:19:12 UTC
Thanks. It's work.

Reply


Leave a comment

Up