On Fri, Sep 16, 2011 at 9:59 AM, Stümpfig, Thomas
<thomas.stuemp...@siemens.com> 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”.

Help is on the way in 1.7:

[[[
-bash-3.00$ svnlook help filesize
filesize: usage: svnlook filesize REPOS_PATH PATH_IN_REPOS

Print the size (in bytes) of the file located at PATH_IN_REPOS as
it is represented in the repository.

Valid options:
  -r [--revision] ARG      : specify revision number ARG
  -t [--transaction] ARG   : specify transaction name ARG
]]]

This can be used in pre/post-commit hooks to inspect the size of a file.

-- 
Johan

Reply via email to