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

  • Home
  • SEARCH
  • 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 376889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:38:35+00:00 2026-05-12T14:38:35+00:00

I am working on a feature branch and have some changes committed to my

  • 0

I am working on a feature branch and have some changes committed to my feature branch that will affect the other developers. I would like to commit those new changes to the trunk so that nobody is left scrambling to fix the break later; however, I do not want to commit the rest of the feature branch because it is not yet fully functional.

I branched off of the trunk at r109. My branch has had all changes to the trunk merged in up to r145. I committed my “will affect other developers” change to my branch in r152 and r153.

My thought process here was to svn switch my working copy to the trunk and then do:

svn merge svn://project/branch/myBranch -r 146:153 ./project

SVN complains about conflicts because the trunk contains the original version of one of the files I changed, whereas I am only merging in the latest changes (I made a few changes to that file in an earlier commit to my branch), and it also complains about conflicts with a file another developer changed in r149. Since my branch only contained merges from the trunk up to r145 before I committed, my branch doesn’t reflect that change.

That’s OK – the conflicts are easy to resolve, but my concern is that I will have trouble days from now when I want to reintegrate my complete branch into the trunk.

Alternatively, I could make the necessary changes to the trunk and then merge them into my branch, but I don’t like that approach because the changes are already done in the branch. No point in doing them twice.

Does anybody have some experience with partial merges of feature branches into the trunk followed by full reintegration? What’s the best strategy here?

  • 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-12T14:38:36+00:00Added an answer on May 12, 2026 at 2:38 pm

    If the order of the changes on the branch doesn’t matter too much, you might be able to merge just those changes back to the trunk, and then merge the rest of them when the feature is ready to reintegrate.

    If possible, I would just avoid the whole situation, by waiting with the change until the branch is ready to merge.

    In most cases, if it is a change that should be done on the trunk right away, I would advise doing the change on the trunk, not the branch, and then merge from the trunk to the branch as you normally do.

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

Sidebar

Related Questions

I'm working on a product feature that will allow the user to export data
Wanted to get some consensus around a UI feature I'm working on right now.
I'm working on a JavaScript image resizing feature which rely on the IE only
One of the feature requests I've got for the program I'm working on is
I am working on an application for college music majors. A feature i am
http://en.wikipedia.org/wiki/ICalendar I'm working to implement an export feature for events. The link above lists
On this project I am working on right now, one of the newest feature
Given that working features are better value for a company than good code at
I'm working on a Silverlight Project with all the features and limitations that entails.
At my company we evaluate working with feature branches. We want to use mergeinfo

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.