跟踪已删除分支中的合并变更集 [英] Track merged changesets from deleted branch

查看:99
本文介绍了跟踪已删除分支中的合并变更集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现TFS中的跟踪变更集功能使我可以直观地看到哪些变更集已合并到Main中,这在检查我们的代码库状态时可以用作审核。

I find the 'Track Changeset' feature in TFS useful to allow me to visualise which changesets have been merged into Main which works as an audit when checking the state of our codebase.

但是,当分支已合并并随后被删除时,我无法检索已合并的变更集。我如何发现新删除的分支在被删除之前已被带入Main?

However when a branch has been merged and subsequently deleted I am unable to retrieve the changeset that was merged. How do I discover that the newly deleted branch was brought into Main before being deleted?

这在SVN中是微不足道的(因为我们具有从路径复制和修订 '针对每个文件的列)。因此,我将如何在TFS中执行此操作?

This is trivial in SVN (as we have the 'Copy from path' and 'Revision' columns against each file). Therefore how would I do this in TFS?

推荐答案

您可以在用户界面中打开已删除的文件。在Visual Studio中,转到工具 |选项|源控制,然后选择显示已删除的文件。

You can turn deleted files on in the UI. In visual studio go to Tools | Options | Source Control and select "Show deleted files".

我不确定您是否能获得所需的一切,但您应该能够跟踪历史记录。

I am not sure if your will get everything that you want but you should be able to trace the history.

这篇关于跟踪已删除分支中的合并变更集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆