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

RE: Hook to limit file size

From: Kjell Harald Andersen <k.h.andersen_at_chipcon.com>
Date: 2005-12-01 10:38:49 CET

I've seen that, and it would work. However, wouldn't that use a lot of
server resources. I'm not an expert on these things (kind of thrown into
it), but it looks to me like that command will stream the entire file
through a byte counter. For smaller files that wouldn't be a problem,
but I have users who regularly commits 10-30Mb and even more.

My point is that this information is already available on the local file
system at commit time. Why can't it be transferred to the repository. It
shouldn't add more than a couple of bytes to each file transmitted, and
if would save a lot of server time compared to the approach mentioned
below.

regards
K

> -----Original Message-----
> From: Paul Koning [mailto:pkoning@equallogic.com]
> Sent: 30. november 2005 16:51
> To: Kjell Harald Andersen
> Cc: users@subversion.tigris.org
> Subject: RE: Hook to limit file size
>
> >>>>> "Kjell" == Kjell Harald Andersen
> <k.h.andersen@chipcon.com> writes:
>
> Kjell> I've also tried to address that problem. As far as I
> can see, Kjell> the svn server side is not aware of the file
> sizes at Kjell> all.
>
> How about svnlook cat | wc -c ?
>
> paul
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 1 10:45:54 2005

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.