svn revision size in bytes

svn

Solution

If you mean "By how much did it increase the size of my repository?", and you have access to the server, and you are using FSFS, and you haven't packed your repository, then there is a way:

Let's assume you're looking for the "size" of revision 12345. Inside your repository's directory you'll find the subdirectory `db`. Here's a picture:

    repository/
        db/
            revs/
                12/
                    12345   <----+
            revprops/            | add together the sizes of these two
                12/              | files.
                    12345   <----+

Problem

Is there a way to tell how big a SVN revision is? I don't mean in a hook, but after the fact (e.g. with svnlook?). I need the (rough) size in bytes, including any binary files that may have been added/changed.

Original source