[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: Schroeder, Craig (Gale) <Craig.Schroeder_at_cengage.com>
Date: Fri, 7 Mar 2008 09:26:35 -0500

>From: Stefan Kng [mailto:tortoisesvn_at_gmail.com]
>Sent: Friday, March 07, 2008 2:25 AM
>To: users_at_tortoisesvn.tigris.org
>Subject: Re: Accessing %VERSION% parameter in update hook batch script
>
>Simon Large wrote:
>
>>> Should we change our hook scripts to always pass *all* params in a
>>> defined way?
>>
>> That would make the behaviour more like svn hooks, and we could also
>> provide hook templates which would help with the documentation.
>>
>> Are there any disadvantages? What do others think?
>
>One disadvantage, yes: the %PATHS% replacement would have to be dropped.
>Because if that one is passed always, we could easily (too easily) cross
>the limit of the command line length.
>That means we'd have to only use %PATH% (the temp file containing the
>list of files), which however makes it harder to write hook scripts
>(they will have to read and parse that file first).
>
>Stefan

I was just about to ask about the command line length. I'd vote for making the change anyway, because we'll be a good community and create some example scripts that parse the file... I swear.

--Craig

---------------------------------------------------------------------
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 15:42:21 CET

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