Re: Where to find good Documentation how to write Hook-Scripts for SVN on Windows
From: si <sshnug.si_at_gmail.com>
Date: 2006-08-24 16:57:18 CEST
Hi Alexander,
> I was looking around for good Documentation describing development
It's not that different, most of the documentation still applies:
One difference is that environment variables are not cleared in
> I want to create Hook-Scripts for this two use-cases:
I like the idea of setting a minimum length instead of just
So if you're interested in a ready-made solution, I just
http://svn.berlios.de/viewcvs/*checkout*/subnant/trunk/README.txt
So in your example, the post-commit.bat could be
@echo off
Although i'd recommend you make use of a small workaround
hookstart commit-message -D:repos=%1 -D:txn=%2 -D:min-length=20
(hookstart.bat just loads subnant, but allows commit to immediately
> - append the comments into a text-file (with actual date) for daily mail to
The typical approach is to send out emails in the post-commit hook,
http://svn.berlios.de/viewcvs/*checkout*/subnant/trunk/doc/commit-email.html
However if you wanted it daily, google around and there may be some
Hope that helps!
peace
---------------------------------------------------------------------
|
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.