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

Re: Check Client Version in hook

From: Philipp Leusmann <philipp.leusmann_at_rwth-aachen.de>
Date: Wed, 03 Mar 2010 17:40:30 +0100

Great, information if mergeinfo is available if all we need to do. (We want to make sure only mergeinfo-supporting clients are allowed, as proposed in <http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html>

Maybe the way to do so (as shown in <http://www.svnforum.org/2017/viewtopic.php?t=6527> ) should also make it into the book.

Regards,
 Philipp

Am 03.03.2010 um 16:18 schrieb Ryan Schmidt:

>
> On Mar 3, 2010, at 09:09, Oliver Specht wrote:
>
>> I want to check the client version in a commit hook. Can I do that? I saw that there are only two parameters in the script template.
>>
>> Is there any documentation about all the parameters a hook script gets?
>
> There is no way to check the version of the client. You can check the capabilities of the client in a limited way, which you can use to know for example whether the client has merge tracking support or not.
>
>
Received on 2010-03-03 17:41:09 CET

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