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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:25:24+00:00 2026-06-10T08:25:24+00:00

We have the following source control structure in our development environment: a Main branch,

  • 0

We have the following source control structure in our development environment:
a Main branch, which is the root of all branches, and a Development branch, which is the son of the Main.
Now, I recently did a “Rename” on the Main branch, and now it’s called OldMain, and after that created a new branch from Development, which I called it Main.

After I finished with those operations, I realized that it has some strange behavior: The OldMain branch lost his history, which can’t be retreived, and the New Main branch “caught” the history of the old branch of the same name, which makes unconsistency, because now the code in the Main branch holdes a fake history…

I should have checked the precautions of doing such operations beforehand (Didn’t know that the Rename operation in tfs 2010 is actually a branch+delete), but now I need to know how to fix this unconsistency.

If I try to revert both operations (Revert Changesets), and checkin, am I going to lose the history of the original Main completely?

I need some suggestions about what to do.

Thanks in advance.

  • 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-10T08:25:26+00:00Added an answer on June 10, 2026 at 8:25 am

    You can still get this history from the command line, just not through the UI.

    http://connect.microsoft.com/VisualStudio/feedback/details/538032/tfs-2010-does-not-display-history-for-a-renamed-folder

    http://blogs.msdn.com/b/mitrik/archive/2009/05/28/changing-to-slot-mode-in-tfs-2010-version-control.aspx

    There is a bunch of other info on google if you search for ‘tfs rename branch and keep history’.

    Also, you can rename your branches back and the history will be fixed.

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

Sidebar

Related Questions

I have all my SQL stored in source control in the following structure Database
I have the following Python 2.7 dictionary data structure (I do not control source
I have the following XML source structure: <turnovers> <turnover repid=1 amount=500 rate=0.1/> <turnover repid=5
I have the following directory structure Project \Images +view.png control.xaml and in the control
We have a WSDL which contains the following type definition: ... <xsd:complexType name=OrderItem> <xsd:all>
I have the following goals: Shared source control with continuous integration The ability to
I have a project which is under source control via Star Team in VS
I have a solution that is checked into our TFS source control repository, but
I have the following at Source Control Explorer TFSServer/teamCollection + teamproject Is is possible
Our SCM structure is the following: Main |--Release Developers check in to main. When

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.