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

Re: Problematic post-commit-hook / svnlook diff size

From: Carlos Peñas <cpenas_at_warp.es>
Date: Mon, 3 Nov 2008 08:44:09 +0100

Well not a clever one, but I'm now supressing the email sending if "svnlook
diff | wc -c" gives a big count.

The shame is that this command took 90 seconds to complete and reclaims about
600 Mb to execute. It is excessive but at least avoids sending 300Mb of diff
file by mail, cutting down the time needed to complete a big commit

There's better ways to doing this out there?

El Viernes, 31 de Octubre de 2008 20:50, Carlos Peñas escribió:
> Hello.
>
> I'm running a subversion server with several projects. One of these is
> big enoug to make eternal diffs on merges.
>
> When this occurs, a contributed script called commit-email.pl (I'm using
> debian etch packaged subversion server) tries to send the diff by mail,
> allocating excessive memory and depleting its resources.
>
> We want to keep these mails unless diff size grows beyond a fixed
> amount of bytes.
>
> ¿There is a way to preview the diff size with svnlook or else?
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

-- 
Carlos Peñas San José
Warp Networks S.L.  http://www.warp.es
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-03 08:44:46 CET

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.