Moving TFS folder and files to a new TFS directory while keeping the history of changes

Carugati 0 Reputation points
2025-02-17T14:35:50.28+00:00

Hello, everyone,

We are forced to reorganize our projects under TFS.

In particular, we need to move TFS folders containing the history of over a decade of changes made to critical databases.

The history of changes to databases for historical reasons is managed by Redgate's SQL Source Control software which saves the changes on TFS.

On TFS, using the "Move..." function, the move occurs correctly and the previous history is also accessible.

However, the previous history is as if it became a "detail" of the move operation. I attach a screenshot. TrasferimentoCartellaTFS.png

TrasferimentoCartellaTFS

Is there a way to transfer the entire history without creating these aggregation nodes?

Thanks in advance

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2025-02-17T22:14:02.7+00:00

    You would do better to ask this in a forum for TFS/Azure DevOps. I don't know exactly where that is, but TFS is not supported by Microsoft Q&A.

    It was a while since I used TFS daily, but I believe that this is just the way it is. And it is quite logical. You are moving /renaming the folder, and that operation should of course be displayed in the history. And all the previous history comes under the renaming.

    I don't know what branching strategy you use, but I recall that in the shop where I used TFS a lot, branching and merging cause a lot of these subtrees.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.