Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Daniel Shahaf
Daniel Becroft wrote on Fri, 7 May 2010 at 20:48 +1000: > Have a look into 'svnlook changed' and 'svnlook cat' commands. Subversion 1.7 will also have an 'svnlook filesize' subcommand.

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Ravi Roy
> > > > Thanks Olivier; but this is just abstract view; I want to compute the > > transaction size based on some predefined value (say 5 MB) and > allow commit > > to the repository if transaction size (in case new file commit) is less > than > > or equal to this size. > > > > Any idea you have ? >

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Daniel Shahaf
Ravi Roy wrote on Fri, 7 May 2010 at 15:56 +0530: > I want to compute the transaction size based on some predefined value > (say 5 MB) Most probably, you're interested in the size of something *created* by the transaction --- not in the physical size of the on-disk representation of the transactio

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Daniel Becroft
On Fri, May 7, 2010 at 8:26 PM, Ravi Roy wrote: > > > On Fri, May 7, 2010 at 3:33 PM, Olivier Sannier wrote: >> >> Ravi Roy wrote: >>> >>> Actual commit size is 1.28 MB and this script gives me 5528 bytes. >>>  Something wrong with script or there is compression involved or what ? >> >> Well, rea

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Andy Levy
On Fri, May 7, 2010 at 06:26, Ravi Roy wrote: > > > On Fri, May 7, 2010 at 3:33 PM, Olivier Sannier wrote: >> >> Ravi Roy wrote: >>> >>> Actual commit size is 1.28 MB and this script gives me 5528 bytes. >>>  Something wrong with script or there is compression involved or what ? >> >> Well, readi

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Ravi Roy
On Fri, May 7, 2010 at 3:33 PM, Olivier Sannier wrote: > Ravi Roy wrote: > >> Actual commit size is 1.28 MB and this script gives me 5528 bytes. >> Something wrong with script or there is compression involved or what ? >> > Well, reading the book could have told you that this is expected: > > >

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Olivier Sannier
Ravi Roy wrote: Actual commit size is 1.28 MB and this script gives me 5528 bytes. Something wrong with script or there is compression involved or what ? Well, reading the book could have told you that this is expected: http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.repos

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread Ravi Roy
> >> Can somebody throw some light on this please? > > This question is both confused and confusing. You'll have more success > if you use established subversion terminology correctly and avoid > making up your own terminology without defining it. > > (I know it's a bit of a chicken-and-the-egg pr

Re: Size of SVN Transaction vs Actual commit size

2010-05-07 Thread B Smith-Mannschott
On Fri, May 7, 2010 at 06:48, Ravi Roy wrote: > > On Thu, May 6, 2010 at 3:37 PM, Ravi Roy wrote: >> >> Hi >> >> General question about Transaction size versus actual file commit size. I >> am getting strange results when I am trying to commit 1.28 file and >> transaction size I am getting is 553

Re: Size of SVN Transaction vs Actual commit size

2010-05-06 Thread Ravi Roy
On Thu, May 6, 2010 at 3:37 PM, Ravi Roy wrote: > Hi > > General question about Transaction size versus actual file commit size. I > am getting strange results when I am trying to commit 1.28 file and > transaction size I am getting is 5538 bytes. Does somebody knows the mystery > ? > Sorry,