[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to combine files from different svn locations into a working copy?§

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Tue, 02 Jan 2018 16:38:23 +0100

On Sat, 09 Dec 2017 18:02:20 +0100, Bo Berglund
<bo.berglund_at_gmail.com> wrote:
>vProject
> |--- src (all sources from the physical project module)
> |--- bin (the binary output from the project)
> |--- cmn (selected files from a "Common" project module)
> |--- lib (maybe some selected binaries needed by the project)

So I have found that using externals in the "normal" projects sort of
solves my main problem of including library and common files into
different real projects.
However I have now run into a slightly different problem:
When I declare the external I have not found a way to limit the depth
of recursion such that only the top directory of the external gets
checked out..

I use an open-source library in several projects and it contains a doc
subdirectory with essentially a website of html and image files. I
don't want these 77 files to be checked out as externals if I can
avoid it, but limit to the 8-10 source files in the top level code
directory.

Can this be done using some externals flag?

Or should I create a branch of the library where I only hold the top
level directory (svn remove the doc dir in the branch) and use this as
the external?

-- 
Bo Berglund
Developer in Sweden
Received on 2018-01-02 16:38:52 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.