[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Pre-commit script for Windows - Require log msg

From: si <sshnug.si_at_gmail.com>
Date: 2006-03-02 02:40:15 CET

> Does anyone have a pre-commit script for Windows that requires a log
> message to be entered? I know about the one included with subversion,
> but I would like something that runs direct if possible.
>
> For that matter, is there a site that has a collection of hook scripts
> for Windows?

I use NAnt (so it's indirect, sorry), but it works on Windows or Linux.

http://svn.berlios.de/viewcvs/subnant/trunk/README.txt?view=markup

e.g. In the pre-commit hook:

subnant commit-message -D:repos=%1 -D:txn=%2

Haven't gotten round to finishing the check-case-insensitive hook
(because it happens so rarely it doesn't rate high in my to-do list:)
but we do use the post-commit email quite a bit:

http://svn.berlios.de/viewcvs/*checkout*/subnant/trunk/doc/commit-email.html

e.g. So you setup some properties and in the post-commit hook:

start /b subnant commit-email -D:repos=%1 -D:rev=%2

Choice is good :)

peace
si

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 2 02:42:19 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.