How to fetch 2 or more folder with external in svn?

261 views Asked by At

Context

I'm presently using SVN externals property to fetch a folder. I'd need to fetch a second folder in the directory.

The environnement I'm working on is like this

  Trunk/
    Mtx/
    MtxTest/
    MtxOver/
    .../

Tries

I tried separating the list of folder with ";" but it doesn't work.

Objectives

I only need Mtx and MtxTest.

Is there a way to do this?

2

There are 2 answers

3
Patrick Quirk On BEST ANSWER

Here's the dialog that appears after selecting "Externals" as the SVN property to add:

TortoiseSVN Externals edit dialog

To add an external, click the "New..." button and fill in the local path and URL for that external. To add another one, click the "New..." button again. Here's what it would look like with your requirements:

TortoiseSVN Externals edit dialog with examples

3
Ben On

From your link, it looks like you're using TortoiseSVN. From the exact same link, which you apparently have not actually taken the time to read:

To add a new external, click the New... and then fill in the required information in the shown dialog.

If you're not actually using TortoiseSVN, but regular SVN, then look at the command-line documentation for svn:externals:

externals definition format...is a multiline table of subdirectories (relative to the versioned directory on which the property is set)

The link even gives an example:

http://svn.example.com/repos/sounds third-party/sounds
http://svn.example.com/skinproj@148 third-party/skins
http://svn.example.com/skin-maker@21 third-party/skins/toolkit