You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ronald Cannes <ro...@hotmail.com> on 2003/09/11 00:00:33 UTC

RE: SVN API (another idea)

> (It's no good having 'svnadmin create' record all repos that are created. A
>repo is a directory on the filesystem. I can move it, copy it, delete it at
>will.

OK - I see your point. A good one, actually ;-)

I have another idea on how to solve this:

Whenever there's a checkout, a commit or an import (or some other sensible 
list of commands), put the repository part in the repos-index file, if not 
already there. There we have it - an up-to-date list of repositories! "svn 
list-repos http://myhost" should be quite simple to implement now, right?

So what about moved or deleted repositories? No problem, because the server 
part of "svn list-repos" would check for directory-existence on each entry 
in the repos-index file before returning the result. If the directory 
doesn't exist, the entry will be removed from repos-index.

I bet one of you gurus could implement this in a day or two ;-)

_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org