RE: Check Client Version in hook

2010-03-03 Thread Geoff Rowell
Philipp Leusmann wrote on Wednesday, March 03, 2010 11:41 AM: > 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 > > Ma

Re: Check Client Version in hook

2010-03-03 Thread Stein Somers
Just be aware that these hooks disallow all commits, not just commits of merges, where the svnbook advice applies. There's not much better you can do, because it's impossible to tell from an "old" transaction if it contains a merge or only genuine, original changes. If you'd still like to allo

Re: Check Client Version in hook

2010-03-03 Thread Oliver Specht
Ryan Schmidt schrieb: On Mar 3, 2010, at 09:29, Oliver Specht wrote: Ryan Schmidt schrieb: 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 documen

Re: Check Client Version in hook

2010-03-03 Thread Philipp Leusmann
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 Maybe the way to do so (as shown in

Re: Check Client Version in hook

2010-03-03 Thread Ryan Schmidt
On Mar 3, 2010, at 09:29, Oliver Specht wrote: > Ryan Schmidt schrieb: >> 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 documentatio

Re: Check Client Version in hook

2010-03-03 Thread Stein Somers
On 03/03/2010 16:18, Ryan Schmidt wrote: You can check the capabilities of the client in a limited way Limited indeed, as far as I understand. You get the client information in the start-commit hook. If you want to correlate it with the contents of the transaction proposed, you have to be in

Re: Check Client Version in hook

2010-03-03 Thread 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 versi