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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:26:58+00:00 2026-06-09T14:26:58+00:00

I’ve added a legend in the picture to make it self explanatory. Initially, the

  • 0

enter image description here

I’ve added a legend in the picture to make it self explanatory.

Initially, the code in trunk for my project is at version 1.0.

I would create 4 branches with this version of the code: Vendor-A, Vendor-B, 1.1 and 1.2. The red lines represent these parallel development branches. Vendor-specific development and releases are carried out on vendor branches, and code in vendor branches will never be merged with trunk. When releases are made to a vendor, those releases are tagged.

Now, my questions are these:

  1. How accurate is this methodology for product development?
  2. Say, the Trunk is at 1.1 and 1.1 branch ends (expires) after merging 1.1 code into trunk, after which I find a bug in 1.1 code. Now, I would immediately create a bugfix branch and commit the fix into Trunk. So, Should this bugfix be pushed into 1.2 branch and vendor branches? Or should it not be pushed, because these branches are dealing with a different version of the Trunk (1.0)?
  3. How do I tackle development under a vendor branch? Say, I need to fix bugs in Vendor branch, should I just commit changes directly into the Vendor branch?

I would appreciate your suggestions in restructuring / redesigning the process, as well.

  • 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-09T14:26:59+00:00Added an answer on June 9, 2026 at 2:26 pm

    Seems okay to me. I’d simplify it a bit however – if I am right in thinking that vendor branches get periodic refreshes from trunk, then you don’t need to do an explicit merge from bugfix branches – just merge bugfixes (e.g. 1.1 bugfix) back to trunk, and then do a merge from trunk to all vendor branches.

    The trick when merging from trunk to vendors is to keep an accurate track as to what has merged already. Ideally you’ll merge everything, and do it in blocks in chronological order. (I find marking commits with a ticket/feature number useful, so I can see from svn log what needs to be merged at a particular time. This ensures that I don’t send half-a-feature to another branch.

    When I commit a merge, I’ll add in the merge string (e.g. “(merge -r1234:2345 -r2667:3123 ../../trunk)” together with a description for the merge. This really helps when looking through logs (say on a vendor branch) to discover the earliest unmerged trunk revision.

    I would however also be inclined to maintain 1.0 and 1.1 on different branches. So, if the 1.0 trunk becomes 1.1 once 1.1-branch is merged in, then it may be appropriate to take a branch 1.0 copy from trunk just prior to this. Initially bugfixes will be made to the trunk (1.1) and then merged directly to any vendors who are derived from the 1.1 branch. However it may not apply cleanly (or may not be relevant) to vendors who are derived from 1.0. In this case, apply them to the 1.0 branch first, and then merge from there to all vendors on the earlier version.

    Of course, you may find bugs that relate only to 1.0, and are not relevant or do not exist in 1.1 – so this separate branch will assist there too.

    With this approach in mind, it is therefore a good idea to upgrade each vendor away from very old versions when you can, so that the number of concurrent versions you need to maintain is minimised. Whether you do that as a matter of course, or as part of a new license/contract, is a matter for your business.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I'm trying to create an if statement in PHP that prevents a single post

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.