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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:11:47+00:00 2026-05-14T21:11:47+00:00

We created a branch from the trunk on which a major refactoring was done.

  • 0

We created a branch from the trunk on which a major refactoring was done. Meanwhile, the trunk advanced a few revisions with some fixes. We don’t want these changes on the branch, so we don’t want to “catch-up” merge the trunk to the branch, because we don’t want to mix the old and new code. But without this I can’t reintegrate the branch back to the trunk.

Is there a way to impose the branch on the trunk “as-is”?

(An idea I considered is to undo (“reverse-merge”) the trunk back to the revision where the branch started, and then it is safe to merge it on branch – nothing should happen. Then I can reintegrate. What do you think?)

  • 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-14T21:11:48+00:00Added an answer on May 14, 2026 at 9:11 pm

    Assuming that you are fine losing those changes then that is an acceptable solution, although you might want to consider simply renaming the current trunk to a branch and renaming the branch to trunk:

    svn move https://path/to/repo/trunk https://path/repo/branches/newbranchname
    svn move https://path/to/repo/branches/refactoring https://path/to/repo/trunk
    

    Although, are you really sure that you don’t want to bring in the changes from trunk? You might want to consider that very carefully. Even if you have done lots of refactoring, if usable work on trunk has been made, you still might want to look at it very carefully so that the progress made doesn’t go to waste.

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

Sidebar

Related Questions

I have a branch which I created from the trunk some time ago. Since
I created a branch and then made changes to trunk which need merging into
Having an issue, here is the problem. Created a branch from the trunk, made
I have a problem merging from trunk to my branch. I created the branch
I've just created a branch from our trunk. I've noticed there are a couple
1) I have a trunk and created a branch from it. 2) The trunk
We crated two branches from the trunk (using TortoiseSVN) ... branch USER and branch
I've created a feature branch to work in parallel with the trunk. In the
We use SVN where I work. Most work is done on trunk, but some
I created a branch (revision 9002) out of my trunk and have continued to

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.