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

RE: SVN API (another idea)

From: Ronald Cannes <roncannes_at_hotmail.com>
Date: 2003-09-11 02:00:33 CEST

>(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
Received on Thu Sep 11 02:09:29 2003

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

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