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

RE: Accessing %VERSION% parameter in update hook batch script

From: Tom Blough <tom.blough_at_truetemper.com>
Date: Fri, 7 Mar 2008 07:19:42 +0800

> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
>
> Should we change our hook scripts to always pass *all* params in a
> defined way?

Stephan,

I have to admit that when I first attempted this, I had the same problem as
the OP. The documentation makes it *appear* that the parameters will be
passed in the order they are shown for the particular hook, not that those
are just the parameters available for the user to add to the command line.

It might make sense to pass the parameters in the same order as SVN, and use
fillers where a corresponding SVN parameter is not available. What you
would end up with would be the SVN calling list with special TortoiseSVN
parameters tacked on the end. This should make it easy to modify existing
SVN scripts to client-side scripts, and remove some confusion from the
documentation.

Cheers,

Tom

 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-07 00:20:31 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.