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