You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Young, Jason (GE Infrastructure)" <Ja...@ge.com> on 2006/03/01 18:29:41 UTC
Pre-commit script for Windows - Require log msg
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?
Thanks,
Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Re: Pre-commit script for Windows - Require log msg
Posted by "Young, Jason (GE Infrastructure)" <Ja...@ge.com>.
Works great. I really appreciate it.
I don't need any other scripts right now, but it would be nice to have a
place to get them (for everyone). Do you mind if I post this one on my
blog and give you credit? Hopefully it will help someone searching for
it.
Jason
-----Original Message-----
From: Nathan Kidd [mailto:nathan-svn@spicycrypto.ca]
Sent: Wednesday, March 01, 2006 1:13 PM
To: users@subversion.tigris.org
Subject: Re: Pre-commit script for Windows - Require log msg
Young, Jason (GE Infrastructure) wrote:
> 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.
Try the attached. (You'll need to set %SVNLOOK%.
(I actually use a variant of this, with grep, which allows easy checking
things like a single space.)
> For that matter, is there a site that has a collection of hook scripts
> for Windows?
I don't know of any, but I'm sitting on a number of patches for
mailer.py and case-insensitive.py, making them work properly on win32
and with 1.2.x python bindings. I don't have time right now to submit
proper patches to dev@ but if you're interested I can post the full
versions somewhere.
-Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Pre-commit script for Windows - Require log msg
Posted by Nathan Kidd <na...@spicycrypto.ca>.
Young, Jason (GE Infrastructure) wrote:
> 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.
Try the attached. (You'll need to set %SVNLOOK%.
(I actually use a variant of this, with grep, which allows easy checking
things like a single space.)
> For that matter, is there a site that has a collection of hook scripts
> for Windows?
I don't know of any, but I'm sitting on a number of patches for
mailer.py and case-insensitive.py, making them work properly on win32
and with 1.2.x python bindings. I don't have time right now to submit
proper patches to dev@ but if you're interested I can post the full
versions somewhere.
-Nathan
Re: Pre-commit script for Windows - Require log msg
Posted by Kevin Greiner <gr...@gmail.com>.
On 3/1/06, si <ss...@gmail.com> wrote:
>
> but we do use the post-commit email quite a bit:
>
> http://svn.berlios.de/viewcvs/*checkout*/subnant/trunk/doc/commit-email.html
My company has been using si's subnant hook script(s) since the middle
of January and have found them to work very well. Just a plug for
another tool that has made our life simpler.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Pre-commit script for Windows - Require log msg
Posted by si <ss...@gmail.com>.
> 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