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

extern a subsection of a project?

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Tue, 9 Feb 2016 15:20:24 +0000


I want to `extern` just part of an open source project into my code. So I was thinking to:

1. create a new repo and import the source as trunk.
2. create a branch from trunk
3. remove the folders (and files) I do not need to build my project
4. tag the new branch
5. extern the tag into my project and build.

This all seems straight forward (famous last words)?
I know about `svn_load_dirs.pl` (and `svn-import.py` as I do not use perl) to help manage the vendor code. I am concerned about maintaining the subset of files after updating the trunk... but only want to include necessary files to keep the working copy size down.

Does anyone have any words of wisdom they can share? Have I missed something obvious? What is the best way to create the desired subset and maintain it going forward?

I am trying to do this on Windows using TortoiseSVN (C++ projects using Visual Studio).

Many thanks for any advice.

~ Mark C
Received on 2016-02-09 16:20:49 CET

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