[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Ravi Roy <ravi.aroy_at_gmail.com>
Date: Fri, 16 Apr 2010 09:11:39 +0530

On Thu, Apr 15, 2010 at 9:43 PM, David Weintraub <qazwart_at_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.
>
>
>
>
Received on 2010-04-16 05:42:13 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.