[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: Hutchinson, Steve (UK) <steven.hutchinson_at_mbda-systems.com>
Date: Mon, 8 Nov 2010 10:06:28 -0000

Hi,

Was looking to answer point 1 below not 2. Guess I should have RTFM a
bit more on that one... but thanks all for the help.
So that helps nicely with how to identify where all the properties are.
From reading all the answers I got have some questions on the best use
of svn:externals. Will use another answer to continue that thread.

Regards
Steve H

-----Original Message-----
From: David Weintraub [mailto:qazwart_at_gmail.com]
Sent: 05 November 2010 16:17
To: Hutchinson, Steve (UK)
Cc: users_at_subversion.apache.org
Subject: Re: Svn externals question

>>>>> SPECIAL MBDA ALERT - SECURITY INCREASED
PLEASE TAKE EXTRA CARE NOT TO CLICK ON HYPERLINKS WHERE YOU DO NOT KNOW
THE SENDER ANY SUSPICIOUS EMAIL, PLEASE FORWARD TO ftn.VIRUS CONTROL
<<<<<

               *** WARNING ***

This mail has originated outside your organization, either from an
external partner or the Global Internet.
     Keep this in mind if you answer this message.

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
********************************************************************
This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. 
MBDA UK Limited, a company registered in England and Wales, registration number 3144919 whose registered office is at Six Hills Way, Stevenage, Hertfordshire, SG1 2DA, England.
********************************************************************
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Received on 2010-11-08 11:07:42 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.