Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List all svn:externals recursively?

How can I get a list of all svn:externals (recursively) in a directory? Is there any utility for this?

(I'm using Windows (and tortoise))

I have a bunch of svn:externals linking to different shared parts of my project and I when I branch it's usually quite error prone to find all externals and changed them so that the link to paths within the new branch.

like image 517
Niels Bosma Avatar asked Mar 25 '09 14:03

Niels Bosma


People also ask

How to check svn externals?

These properties can be viewed through the following ways: Right click on the working copy -> Tortoise SVN -> Properties. In the . svn folder, browse through the entries file.

What svn External?

What are externals definitions? Externals definitions map a local directory to the URL of a versioned resource. The svn:externals property can be set on any versioned directory and its value is a multi-line table of subdirectories and absolute repository URLs.


1 Answers

Do the following in the root of your working copy:

svn propget svn:externals -R 

As discussed in the comments below, this does not list externals in externals.

Note for TortoiseSVN users: there is an option in the TortoiseSVN installer to also install the SVN command line client. This option is not enabled by default.

like image 112
Wim Coenen Avatar answered Sep 20 '22 06:09

Wim Coenen