[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: Daniel Shahaf <danielsh_at_elego.de>
Date: Wed, 3 Apr 2013 20:15:53 +0300

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?)
Received on 2013-04-03 19:16:37 CEST

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