Search code examples
svntortoisesvnvisualsvn

Checkout files from a different SVN directory to single target directory - SVN


Is there a way to check out a single file from a different SVN directory to single target directory?

For example, in the SVN repository

svn://ddev/EDW/trunk/src/etlDataStream/ASGC
files: File1.dtsx
       File2.dtsx

svn://ddev/EDW/trunk/src/etlDataStream/HIRD
files: File5.dtsx
       File6.dtsx

I want this to be pushed to single directory of target systems as

c:\etlDataStream
files: File1.dtsx
       File2.dtsx
       File5.dtsx
       File6.dtsx

How can this be acheived?


Solution

  • You can actually do this with the latest version of Subversion. SVN supports svn:external for a single file from version 1.6. However, it has its own incompatibilities (it still has open bugs).

    http://subversion.apache.org/docs/release-notes/1.6.html#externals

    Check Externals Definitions for the implementation.