Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7531965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:18:58+00:00 2026-05-30T05:18:58+00:00

In Version Control with Subversion , the Vendor Branches section sets up a vendor

  • 0

In “Version Control with Subversion“, the Vendor Branches section sets up a vendor branch for “libcomplex” and then uses the following command to copy libcomplex into the main development branch:

$ svn copy http://svn.example.com/repos/vendor/libcomplex/1.0  \
           http://svn.example.com/repos/calc/libcomplex        \
           -m "bringing libcomplex-1.0 into the main branch"

However, what if we only require a subset of the functionality (and thus a subset of the files) of libcomplex?

Is it OK to copy only part of libcomplex into the main branch? Or is this likely to cause problems (particularly when it comes to upgrading libcomplex)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:19:00+00:00Added an answer on May 30, 2026 at 5:19 am

    Perhaps the easiest way to approach this is to only commit the files that you need into your repository in the first place. This makes the Subversion side of the problem trivial. If you can write a script that extracts the library subset that you need from the drop that you get from your vendor, then the entire process can be automated away. This is still doable if the extraction has to be done manually, but it’s a bit more annoying. Either way, it will most likely turn into a maintenance headache. Third-party libraries typically aren’t designed to be split up, so you’ll risk having to make manual changes whenever the library makes any structural changes.

    A completely different approach is to compile the library (or a subset of it) into a binary file, and then only commit that binary file into your source tree. This is what I do on a project that I work on. We have a separate repository for libraries from vendors. A custom makefile will build svn://vendor_repo/trunk and generate svn://vendor_repo/trunk/libs (which are committed along with each new drop), and it is this libs subfolder that we pull into our main repository using svn:externals. With this method, our code doesn’t know (or care) whether the libs are a subset or the entire library. All they see is a binary file to link against. The extent of the code that we have to manually maintain is the custom makefile that we use to build the vendor library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Version Control with Subversion recommends the following layout for (single-project) repositories (complemented by this
My employer uses subversion for version-control, and this is unlikely to change. I'm interested
I want to keep my website/s in version control (Subversion specifically) and use svn
I'm maintaining a homebrew web-based CRM that I version-control with Subversion. What I want
We're looking at moving from a check-out/edit/check-in style of version control system to Subversion,
We use Subversion for version control and Jira for tickets. All our commit messages
I currently use subversion for my version control via AhnkSVN and Visual Studio. I
Using a version control system for your source code (like subversion ) makes sense
Have you tried to use SharePoint with version control such as Perforce (or Subversion),
I configured IntelliJ IDEA 6.0.6 to use Subversion for version control. The Subversion menu

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.