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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:09:31+00:00 2026-06-08T11:09:31+00:00

So I have this project with concurrent work going on in 2 releases, the

  • 0

So I have this project with concurrent work going on in 2 releases, the trunk and branch1. At some point I am told “don’t make any more builds for rel1, fix those bugs in rel2.” So I make bugfixes in branch1 that could also apply to the trunk. Later I am told “It will be a big PITA if we relase rel1 with those known bugs. Please fix them in rel1 also.”

So, my question is (~/rel1 is a current, unmodified working copy of the trunk. RevM, RevN are revision numbers in branch1 for a range of revisions that I want to merge back into the trunk):

If I do a

cd ~/rel1
svn merge -r RevM:RevN ^/branch1 

how will it affect a later svn merge --reintegrate from the branch to the trunk? Bearing in mind that there are revisions in branch1 prior to RevM and there are going to be more after RevN. In particular, when I do eventually reintegrate, will it be as though I’d originally done the fixes in rel1 and merged them into rel2, as should have been done in the first place?

  • 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-08T11:09:33+00:00Added an answer on June 8, 2026 at 11:09 am

    Cherry-picking changes from a branch into trunk is something that is always twisting my mind as well. Here is a solution that should work in your case, the trick being to block the cherry-picked changes from being merged into the branch again.

    cd ~/rel1
    svn merge -r RevM:RevN ^/branch1
    svn commit -m "cherry pick RevM:RevN from branch1 into rel1"
    

    Now suppose this commit has created RevX. Go into your branch and block this revision from future merge actions by using the --record-onlyoption.

    cd ../branch1
    svn merge -c RevX --record-only ^/rel1
    svn commit -m "mark RevX as already merged to block it from future merge actions"
    

    Now you should be able to merge further changes from rel1to branch1 again as usual and also to reintegrate your branch into rel1 once you’re done with it.

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

Sidebar

Related Questions

So I have this project in PHP where I have some include files next
I have this Project model: class Project < ActiveRecord::Base validates :status, :inclusion => {
I have this project that it's due in a few hours and I still
Okay so, I have this project structure: package A.B class SuperClass (this class is
I have this WinForms project (based on this one , but modified for SharePoint
I have found this project on Codeplex. http://www.codeplex.com/ProjNET I need to integrate this code
I have this simple test project just to test the IncludeExceptionDetailInFaults behavior. public class
I have been handed this project that has a large number of issues with
I have this task for the project with 4 nested subprojects using Maven: For
I have a question with this project https://github.com/sephiroth74/AndroidWheel .. I have found more questions

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.