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

Re: SVN hook help

From: venkata prasad <prasadeceonline_at_gmail.com>
Date: Wed, 27 Aug 2008 16:02:43 +0530

Thanks and also sorry for my late reply; I was on vacation;

I am working on windows. Can i still run WC command...
Please help me with the batch or execultable script.

Thanks,
Prasad.

On 8/14/08, Ryan Schmidt <ryandesign_at_macports.org> wrote:
>
> On Aug 14, 2008, at 02:38, venkata prasad wrote:
>
> I want to place an SVN- hook for not allowing to add an element of size
>> more than 200MB.
>>
>
> Ok. In the pre-commit hook, you would use "svnlook changed" to get a list
> of changed files. You can then "svn cat" each file and pipe it through "wc"
> to get a byte count. Note that the file will still be transferred over the
> network to the server in its entirety, even though the file will not be
> accepted into the repository due to your restriction.
>
> Also dont want to allow adding weblogic.jar file for my repository.
>>
>
> Same deal: run "svnlook changed" to get the list of changed files, and if
> weblogic.jar is listed, deny the commit.
>
>
>
Received on 2008-08-27 12:33:07 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.