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

Re: Noob question on pre-commit windows script

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 07 Feb 2008 21:26:06 +0100

Tom Blough wrote:

> It would be great if I could make this more generic. If there were a %WCP%
> parameter like the %PATH%, %PATHS%, etc available to the scripts that passed
> the current working copy path that would be a start. It would also be nice

As of revision 12062, the CWD is set if there's only one path affected
for the script.

> if there were some way to execute a generic client side script for all
> commits. The generic script could execute before and specific WCP linked
> script, or it could execute after, or it could be a default to be executed
> if there was no specific WCP linked script.

Maybe specifying the path as '*' or leaving it empty could force the
hook script to run for all paths?

If nobody objects to this, I'll implement that tomorrow...


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-02-07 21:26:19 CET

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.