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

[Subclipse-users] Transaction size

From: ┴lvaro Canales <alvaro_at_fib.upc.edu>
Date: 2006-10-20 13:29:13 CEST

Hello!

Is it possible to know transaction size in a commit so that I could
implement a pre-commit hook script that not only checks the current
repository size but also the current repository plus transaction size?
In other words, to implement something similar to "quota" in a
pre-commit script, how can I know the transiction size? I want to commit
if (transaction_size + current_repository_size < MAX_REPOSITORY_SIZE). I
already know the current_repository_size variable, but I still need the
transaction_size one ;)
Thank you in advance for your time!

┴lvaro

-- 
---------------------------------------------------------------------
o o o  ┴lvaro Canales Castellanos        |  Mail: alvaro@fib.upc.edu
o o o  └rea de Sistemes i Comunicacions  |  
o o o  Laboratori de CÓlcul              |  TelŔfon: +34 93 401 62 30
U P C  Facultat InformÓtica Barcelona    |  Despatx: B6 s104 - FIB
--------------------------------------------------------------------- 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Oct 20 13:29:26 2006

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