1

Say I have the following structure (on the same svn server, but different repos):

Repo:
A/
A/B/c.py

External Project:
C/D/
C/B/f.py

I want to set svn:externals on A/, like so:

^/../C/D A/D
^/../C/B A/B

My goal is to have the resulting structure look like this:

A/
A/D
A/B/c.py
A/B/f.py

After I do propset on A/ (and double check it with propget), I run "svn up A/". svn fetches C/D/ just fine, but when fetching C/B/, it says that B/ is locked. Is it possible to do this, or does svn not support mixing an external directory with a local svn directory?

1 Answer 1

2

Nope, not possible. See http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html where it says:

The relative target subdirectories of externals definitions must not already exist on your or other users' systems

Sign up to request clarification or add additional context in comments.

2 Comments

so basically, the target folder of the external source cannot already exist (and therefore cannot be a versioned folder)?
Exactly. Or at least, the last folder in the path you give as a target cannot already exist; you can place it any number of existing folders deep, but the last folder must not already exist.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.