Search code examples
svnexternals

SVN externals change source to target directory


I am using svn 1.6, is it possible to have: ?

source directory
shared\code\depends\make1.3
- contains file make.1.3

target directory
trunk\make\
- i want make.1.3 in trunk\make\

Have an SVN external from the above source to the target
I have tried

/shared/code/depends/make1.3 make

When i do an update i get error:

 External failed, working copy is locked, please execute cleanup command.  

After executing cleanup, still the same problem.


Solution

  • I figured out the answer, to use externals on a single file use from source to target directory use:

    source directory
    shared\code\depends\make1.3
    - contains file make.1.3
    
    target directory
    trunk\make\
    - i want make.1.3 in trunk\make\
    

    :

    /shared/code/depends/make1.3/filename.txt filename.txt
    

    the above external command will put the single file in trunk\make\filename.txt