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 221207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:00:42+00:00 2026-05-11T19:00:42+00:00

We have a large project with several sub-projects. We’re approaching a release of our

  • 0

We have a large project with several sub-projects. We’re approaching a release of our project, and the new features in one sub-project are not going to be completed before the release as was originally planned. What I’d like to do is move all the changes to that sub project related to the new features into a separate branch to continue work for the next release, but I’m not sure how to best accomplish this.

The situation is basically:

/proj/trunk/A/
/proj/trunk/B/
/proj/trunk/C/

We have revisions a..z checked in since the last release. Revisions d, f, g, and j..n contain work related to a new feature in C which isn’t going to be completed in time. Revisions e, h, and q contain unrelated changes in C which need to be in this release. I’d like to create a /proj/branches/new-feature-for-C/ and move changes d, f, g, and j..n there, while keeping e, h, and q in trunk. There is no overlap between changes to be moved to the branch and changes to be kept on the trunk, and none of the changes to be moved to the branch depend on any changes in any other subproject since the last release.

  • 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-11T19:00:42+00:00Added an answer on May 11, 2026 at 7:00 pm

    This is how I would do it: Copy the trunk to a branch, then reverse merge the change sets.

    so if the trunk is at http://svnserver/svn/myrepo/trunk/C
    and the unwanted change sets are 3, 6 , 9-11

    svn copy http://svnserver/svn/myrepo/trunk/C http://svnserver/svn/myrepo/branch/C -m "Branch no completable work"
    svn merge -c -3,-6 http://svnserver/svn/myrepo/trunk/C <filepath to root of trunk>
    svn merge -r 11:8 http://svnserver/svn/myrepo/trunk/C <filepath to root of trunk>
    ****CHECK EVERY THING WORKED***
    svn commit . -m "Removed some changes that weren't to be finished"
    

    Note that the -r 11:8 is one less than the changeset you want to stop at

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

Sidebar

Related Questions

We have a large project that encompass several sub-projects with their separate GIT repositories,
I have several large projects that I work on. Depending on the project and
We have several large subprojects inside our main SVN project root. I commit and
I have a large project that executes without problem when not debugging (even when
I have a large project where we have 2-3 dll projects that are converted
I have got an(other) error while trying to upgrade our large project to SL4.
I have a large number of projects on the go, and several solutions (which
I am working on a very large project that has several Visual Studio projects.
I have a large non-Java EE, JSF-based web app project. Our system is layered
I have several large embedded bitmap files in my resource project. The compiled exe

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.