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

Re: TurtoiseSVN with pre-commit scripts on the server

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-11-22 12:54:05 CET

On 11/21/06, Chris.Fouts@qimonda.com <Chris.Fouts@qimonda.com> wrote:
> My first post...
>
> I currently have an Subversion server running on a Linux
> box, and have clients on HPUX boxes. I have pre-commit
> hook scripts on the server that checks for bugid, etc,
> before it lets a commit to go through. I set all this
> up using the SVN_EDITOR method suggested the Subversion
> manual, where it calls a Perl script that contains a "template"
> of the information I want users to include in the commit.
>
> Now I'm starting to develop in Win2k, and use TurtoiseSVN
> for my client. How can I integrate the same Perl script that
> contains the "template" used by the other Subversion client
> (HPUX) for the Win2k users? I started reading
> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-minlogmsgs
> ize.html
> but it falls short on telling me how make TurtoiseSVN call
> a script.

Your client doesn't call hook scripts, they're done completely on the
server (unless you're using the file:// access method). Just take the
Perl script from the HPUX box and put it in the hooks directory of
your Win2k-hosted repository. Fix any paths that are hardcoded into
it, and then make sure that Windows knows the .pl extension is
executable.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Nov 22 12:54:15 2006

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

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