[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: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Tue, 17 Feb 2009 15:53:25 +0100

Right, that is what I suggested, but one such script is shown, buyt this takes for ages to run, I thought maybe one could do something smarter, like recurse 10 levels down for instance, and not needing to traverse the entire repository, as we have a limit on 2-3 directory levels.


-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
Sent: 17. februar 2009 13:42
To: Engebakken Geir
Cc: users_at_subversion.tigris.org
Subject: Re: Listing "projects" in a svn repository

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.


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

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

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