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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:47:19+00:00 2026-05-26T09:47:19+00:00

The history goes as follows: Create branch from main. Change directory structure on trunk.

  • 0

The history goes as follows:

  • Create branch from main.
  • Change directory structure on trunk.
  • Add new files to the old directory structure on the branch.

The usual approach for merging goes as follows:

  1. Merge trunk changes to branch
  2. Merge branch back to trunk

However, in my situation step 1 will already result in tree conflicts.

How can I best deal with this task?

Ps: Possible duplicate has no accepted answers.

  • 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-26T09:47:19+00:00Added an answer on May 26, 2026 at 9:47 am

    First merge all trunk changes into your branch, resolving conflicts. This will very likely conflict with the changes you have made to the trunk, but if you want to merge those changes made to different branches, you ultimately will have to resolve those conflicts, and this is the place to do that.

    Then reintegrate the branch into the trunk. (Note that the branch is not fit for further merges once it’s reintegrated. The best is to delete it.)


    One thing you can do to lessen the pain of having too many conflicts piling up is to merge changes step-by-step, rather than merging them all at once. I sometimes find it easier to understand the changes I am merging when there aren’t so many of them. And understanding the changes might be the most important aspect of successfully merging conflicts.

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

Sidebar

Related Questions

I am trying to imported some javascript files from some code hosts. $.when( $.getScript('http://pingzi.googlecode.com/svn-history/r30/branches/wangqi/web/jquery.window.min.js'),
Suppose my history goes that way : A - B - C - D
History: I read from one of Knuth's algorithm book that first computers used the
View History on an file in a branch show only changes since the branch.
I'm using history.pushState to create a 'fake' results page after the user submits a
When the user goes history-back-1...how do I detect that? And then, alert the user
I am interested in keeping a running history of every change which has happened
So here it goes, i have this application retrieves records from database, i have
I have this code, that goes through steps, aquired from a webservice. I implemented
Sometimes I Mark for Add and add files to Perforce which I actually didn't

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.