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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:25:09+00:00 2026-06-17T09:25:09+00:00

We’ve recently introduced the concept of feature branches (using SVN) where I work and

  • 0

We’ve recently introduced the concept of feature branches (using SVN) where I work and I stumbled upon a situation where I’m not sure how to handle it.

Here is a graphic of my situation:
sticky situation

Here’s what the graphic says: I created a branch (feature_phase_1) from the trunk and worked on that branch until I was satisfied with my work. Then, since we must have our code reviewed before it gets back into the trunk, and since I needed that code from the feature_phase_1 to continue working, I created a new branch (feature_phase_2) from the first branch (feature_phase_1). I worked on that branch until the code review was completed on the first branch, committed my changes to feature_phase_2, switched to feature_phase_1, made the requested changes, committed to the branch, then reintegrate-merged to the trunk.

Then I got a headache.

Since it is suggested to not keep on working on a branch that has been reintegrated, I thought I would make a patch with the diff between my two branches and apply it to a new branch (from the trunk, after having reintegrated my feature_phase_1 branch), and delete current feature_phase_2. But it gave me more conflicts and than I expected.

I read somewhere that creating a branch from a branch is also not suggested. I can see why now, since I didn’t know how to handle what was in there. I managed to apply patches and edit conflicts, but it was messy and stuff slipped though the process.

What’s the suggested approach for this kind of situation, that would minimize the risk of conflicts and manual handling of the merge process? Here is what I see:

  • Create a feature_phase_2 from the trunk instead of from the branch, merge changes from feature_phase_1 into feature_phase_2, then keep on merging from the trunk as things go on (I would expect conflicts after reintegrating feature_phase_1).example
  • Keep on working of feature_phase_2 and merge from the trunk once feature_phase_1 is reintegrated, then reintegrate feature_phase_2 to the trunk (a bit like what’s described here). This technique seems to me a bit unclean though, as you have to branch from a branch, then reintegrate two levels.
  • ??

Thanks

  • 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-06-17T09:25:10+00:00Added an answer on June 17, 2026 at 9:25 am

    For your pic. 1 (original workflow) better (I suppose) choice can be:

    Merge feature_phase_1 into feature_phase_2 instead of merging trunk to phase_2 (phase_1-239 will be parent of phase_2-241 instead of trunk-240) and after it merge phase_2 to trunk

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

Sidebar

Related Questions

I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I am using Paperclip to handle profile photo uploads in my app. They upload
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am using JSon response to parse title,date content and thumbnail images and place
I am using the SimpleRSS gem to parse a WordPress RSS feed. The only
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

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.