Alternatively:

1. Run `svn status | grep ^X` to get all the entries in the working copy that 
are svn:externals.
2. Ignore them as you traverse across the paths.

While reading the svn:externals directly is also a good idea, you'd have to do 
that for every directory you enter into, since they are namespace specific.
The nice thing about `svn status| grep ^X` is that it will traverse the entire 
working copy and tell you about ALL svn:externals - even those inside of the 
svn:externals.

SVN's bindings may provide some better help in there, so definitely look at 
those too as there may be yet a better solution.

BRM



----- Original Message ----
> From: Christian Unger <christian.un...@me.com>
> To: users@subversion.apache.org
> Sent: Wed, June 23, 2010 5:09:09 PM
> Subject: Re: detect externals in script
> 
> doesn't `svn pget svn:externals` suffice? 

you probably want to look at 
> subversion's bindings - depending on the scripting language you're 
> using


On 23.06.2010, at 20:56, Paul Dugas wrote:

> I'm 
> looking for a way for a script operating on a working directory to
> 
> identify directories that were pulled in via an svn:external.  The
> 
> script is in the top-level folder of the project and is used to
> maintain 
> the common file headers for the project and I'd like it to
> not recurse 
> down into externals.
> 
> Thanks in advance for suggestions,
> 
> 
> Paul

__
cu
christian unger

Reply via email to