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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:25:32+00:00 2026-05-30T21:25:32+00:00

We have worked on a feature branch the last six months. Most commits made

  • 0

We have worked on a feature branch the last six months. Most commits made to the trunk in this period have been merget to the branch, but some trunk commits were deliberately never merged to the branch.

Now the branch is complete, and we basically want to “replace” trunk with the branch (we do not need the trunk changes that was never merged to the branch anymore). This answer to a simular question suggests:

  1. Check out the trunk revision from which you created the branch (not the HEAD revision).
  2. Commit it to the repository (this undoes all subsequent trunk changes).
  3. Do your reintegrate-merge (your trunk working copy should now be identical to the branch.)
  4. Commit the merged trunk, and you’re done!

This answer suggests:

svn co http://svnhost/trunk
cd trunk
svn merge http://svnhost/trunk http://svnhost/branches/branchname

What will be the proper solution in my case?

  • 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-30T21:25:33+00:00Added an answer on May 30, 2026 at 9:25 pm

    If you really want to replace your trunk, then you could you use the Repository Browser (TortoiseSVN) and do the following:

    • Delete the trunk
    • Use “Copy To” to copy your branch to the “trunk” location
    • Delete the branch

    You could also move the branch to the repository root and rename it to “trunk”.

    If you are using externals that point to your current trunk, you might have a problem if you did not use the “peg” revision when referencing the trunk. If you do not use externals, you should be fine.

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

Sidebar

Related Questions

I have worked with Sql Server in past and used it's very nice feature
So I have this website that has a search feature which searches a table
I have worked for 5 years mainly in java desktop applications accessing Oracle databases
I have worked on projects for embedded systems in the past where we have
I have worked on iPhone application but not aware of the formalities to submit
I have worked a bit with Django and I quite like its project/applications model
I have worked within a web development company where we had our local machines,
I have worked with SOAP in SAAJ and JAXM, and I want to extend
I have worked with pointers a lot, but still whenever I work with them,
I have worked many projects with no problems. But in current project, I tested

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.