You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ravi Roy <ra...@gmail.com> on 2010/04/15 14:10:23 UTC

Mechanism to list files in SVN repository greater than certain size

Hi

Does somebody knows a mechnism as how to scan existing SVN repositories for
files (say which are > 5 MB) ? and get details of the same.

Thanks!

-RR

Re: Mechanism to list files in SVN repository greater than certain size

Posted by Ravi Roy <ra...@gmail.com>.
On Thu, Apr 15, 2010 at 9:43 PM, David Weintraub <qa...@gmail.com> wrote:

> Are you looking for current versions or all versions of all file file?


 Thanks David, I was in fact looking for to restrict / inform people who has
put file greater than certain size in the repo. I think for future would be
better to write a hook which disallow file by size.
 I was looking for all versions of a file.
 -RR


>
> The only version control system I know of which could do the latter was was
> ClearCase and only if you used dynamic views since that allowed you to "see"
> all versions of all files. And, doing something like that took forever.
>
> Subversion doesn't really store individual files or versions because it
> works on the entire repository, so you couldn't even scan the repository for
> particular suspect files like you could in RCS or systems that use RCS like
> files.
>
> The only way I know is to checkout, and scan. You could write a script to
> do like an "svn cat" and count the file size that way, but it wouldn't be
> any quicker.
>
>
>
>

Re: Mechanism to list files in SVN repository greater than certain size

Posted by David Weintraub <qa...@gmail.com>.
Are you looking for current versions or all versions of all file file?

The only version control system I know of which could do the latter was was
ClearCase and only if you used dynamic views since that allowed you to "see"
all versions of all files. And, doing something like that took forever.

Subversion doesn't really store individual files or versions because it
works on the entire repository, so you couldn't even scan the repository for
particular suspect files like you could in RCS or systems that use RCS like
files.

The only way I know is to checkout, and scan. You could write a script to do
like an "svn cat" and count the file size that way, but it wouldn't be any
quicker.

On Thu, Apr 15, 2010 at 10:10 AM, Ravi Roy <ra...@gmail.com> wrote:

> Hi
>
> Does somebody knows a mechnism as how to scan existing SVN repositories for
> files (say which are > 5 MB) ? and get details of the same.
>
> Thanks!
>
> -RR
>



-- 
David Weintraub
qazwart@gmail.com