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

Re: set maximum file size for commits

From: <kmradke_at_rockwellcollins.com>
Date: Thu, 10 Apr 2008 13:01:08 -0500

eg <egoots_at_gmail.com> wrote on 04/10/2008 11:53:08 AM:
> kmradke_at_rockwellcollins.com wrote:
> > Is there an easy way to use the python or perl api to see a file sizes
> > in a transaction? That would at least remove the
> > "svnlook cat | wc -c" overhead...
> >
> > Maybe transaction/file size could be added to svnlook info?
> >
>
>
> I sent this link yesterday but it seems to be lost in the void
somewhere...
>
>
> See the following for a python pre-commit hook for an example:
>
> http://www.davidgrant.ca/limit_size_of_subversion_commits_with_this_hook

Well, that is interesting. Just check the transactions directory size.
Probably
wouldn't have thought of that. This limits to FSFS, but that is ok for
me...

Kevin R.
Received on 2008-04-10 20:01:41 CEST

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