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

Re: Svn externals question

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 5 Nov 2010 12:16:49 -0400

On Fri, Nov 5, 2010 at 9:49 AM, Hutchinson, Steve (UK)
<steven.hutchinson_at_mbda-systems.com> wrote:
> Is there a simple way of identifying in a structure folders that have
> external properties, come to think of it maybe any form of property ?

Not 100% clear what you're looking for. You could be looking for one
of two things:

1). You have a project, and it has svn:externals set on certain
folders. You want to find those folders.

That's fairly easy to do with the "svn propget". Go to the root of
your project and run:

    $ svn propget -v -R svn:externals

That will show you all the directories where svn:externals are set and
directories are being pulled in.

2). You have a bunch of "external" projects, and want to know in what
other projects they're being used.

This is much more difficult since there's no way to see what projects
are using a particular directory as an external project. The only
thing I can think of is to run the "svn propget" on the entire
repository and parse the output.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-11-05 17:17:26 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.