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

Re: Listing "projects" in a svn repository

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 17 Feb 2009 06:41:36 -0600

On Feb 16, 2009, at 04:04, Geir Engebakken wrote:

> We have a large svn repository with "projects" defined in various
> directory levels. One structure that is inposed on the projects is
> that every project should have trunk/branches and tags as
> subdirectories.
>
> Now I want to get a list of all the projects. I guess this will
> work :
>
> svn ls URL --depth=infinity | grep branches
>
> Any other way to get the same info without having to traverse the
> entire repository?

Subversion doesn't know anything about a "project"; it's just files
and directories to Subversion. So if you have a complicated structure
of where your projects are (i.e. they're not simply every top-level
directory of the repository), then you'll have to write a script to
find them.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1178480

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-17 13:42:42 CET

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