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

Re: svnadmin info command was: svn commit: r1464089 - /subversion/branches/fsfs-format7/BRANCH-README

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Thu, 4 Apr 2013 12:00:44 +0200

On Wed, Apr 3, 2013 at 7:15 PM, Daniel Shahaf <danielsh_at_elego.de> wrote:

> Mark Phippard wrote on Wed, Apr 03, 2013 at 13:10:54 -0400:
> > On Wed, Apr 3, 2013 at 12:15 PM, <danielsh_at_apache.org> wrote:
> > >
> > > +(danielsh adds: if we do this, would be nice to have 'svnadmin info'
> command
> > > +that prints the equivalent of `cat fs-type uuid ../format
> ../db/format`; but
> > > +that's orthogonal to all backend changes.)
> > >
> >
> > I think having an svnadmin info command would be nice anyway. We have
> > this feature in the web UI for SVN Edge and users like it a lot. We
> > show information like this:
> >
> > Revisions: 123
> > Size: 32.9 KB
> > Filesystem Format: FSFS version 4
> > Repository Format: 5
> > Sharding: Enabled (1,000 revisions)
> > Packed: False
> > Representation Sharing: True
> > Supports: svndiff1, sharding, mergeinfo, rep-sharing, packed revs
> > UUID: bc35d16b-8bfe-a849-b069-5d48e0fb7551
> >
> > I think the command could also probably list the hook scripts that were
> enabled.
>
> Agreed. My only comment is that I don't see how to compute 'size'
> cheaply. (On svn.a.o each repository is its own filesystem, so 'df'
> functions as an O(1) size calculator. But otherwise?)
>

I like the UI. As for the size info, the fsfs-stats will give
you a much more detailed view on how big the repo is
and why.

Maybe, we can display the last packed rev plus an estimate
of how many files will get saved by running svnadmin pack.

-- Stefan^2.

-- 
*Join one of our free daily demo sessions on* *Scaling Subversion for the
Enterprise <http://www.wandisco.com/training/webinars>*
*
*
Received on 2013-04-04 12:01:19 CEST

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