On Fri, Sep 16, 2011 at 07:59:34AM +0000, Stümpfig, Thomas wrote:
> Hi all,
> what is the reason that svn log does not tell me the actual file size. I 
> would be more patient ;-), probably as a separate option or within -v
> All I can find about in the net is a pre/or post commit that does a svnlook 
> cat operation. But this is an expensive operation.
> The Server should be able to deal with it during the "commit operation".

To obtain this size Subversion currently has to compute the full text
of the file.

The filesystem only records the size of each delta that belongs to the
full text. In some cases there is only one delta, in which case the file
size equals the expanded delta size, but in general a full text is
composed from several deltas.

Currently, the information printed by 'svn log' can be obtained without
computing the full text.

So what you're asking amounts to either a performance hit for 'svn log'
or to a new feature in the filesystem (record the size of the full
text of a file along with the changed-path data which 'svn log' reads).

I think the feature you are requesting is reasonable.
If you like, you can file an 'enhancement request' issue in our issue
tracker about this. Maybe somebody will have time to work on it.
(In case you know somebody who would like to work on this I'd like
to point out that we're always happy to help newcomers get started :)

Reply via email to