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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:09:46+00:00 2026-05-28T17:09:46+00:00

I am facing a situation at which my development team would like to re-organize

  • 0

I am facing a situation at which my development team would like to re-organize the file structures in our repositories. This process will take about 2-3 months. During the file re-structurization, we still have to do a software releases. So, after the re-structurization process, we want to merge the organized files from the branch back to trunk. It is important to preserve the file history and also we need to be able to merge the code changes in trunk since first creating the branch.

My initial attempt was by creating a branch and then simply merge it. Unfortunately, it is not as simple as I thought. One of my test scenarios was the following:

  1. Created the branch from trunk
  2. Update a file in trunk
  3. Move the file in the branch
  4. update the file in the branch
  5. Doing a merge from branch back to trunk

At step 5, I got a “tree conflict” error on the file that I update in trunk. TortoiseSVN does not give information on what file in branch that that the conflicted file related to. In my scenario, it is not that difficult to figure out the files with problems; however, in our real repository it will be very difficult because we have thousands of files and many of those files have the same filenames (in a different folders).

Does anyone have experiences in the same situation as I am in? Any suggestion / best practices that I should/can do to make ensure the integrity of the codes?

Thanks for all the helps.

  • 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-28T17:09:47+00:00Added an answer on May 28, 2026 at 5:09 pm

    This is what I ended up doing:
    1. Merge all renamed and modified files in the branch with all the updates (when applicable) from trunk
    2. Commit branch to repository. The branch now has the latest code including changes from trunk since the branch was first created
    3. Merge all changes from the branch back to trunk. Trunk will not have all the updated files structure and all changes that happens in both trunk and the re-organization branch

    Note: Expect to still get Tree conflict for files that are updated in trunk and moved to another location in the branch. All I needed to do was removing those files.

    Step #1 is a tedious process but it works on my test.
    This may not the best solution but it works for me (maintain updates from both trunk and branch and also preserve history).

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

Sidebar

Related Questions

I'm facing a situation where I have dependent objects and I would like to
I'm facing this situation where I have an ID which comes from a database
I am facing a situation in which both the codebehind file of an ASPX
I am facing a situation where I need to process an incoming email which
I am facing a problem. I would like to localize my action names in
I am facing a situation in which I have a ListView item. When I
I am facing a situation in which I have to calculate the screen coordinates
I'm facing a problem with IE6. I took the toggle function from this website
I'm facing problem when migrate my web app project from development server to live
I am facing the following situation. I use ajax to communicate with the backend

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.