开发者

TFS annotate detect removal of code

This sounds like a simple thing to do, but I am not sure if it is possible ...

If I use TFS annotate, I can determine when each line of code was changed a开发者_运维百科nd the changeset where it was changed. This is great for determining when something was added or modified. But what about determining when something was removed?

Does the removal of code appear in an annotate? I don't think it does. If not, how can I detect when some code was removed?


Does the removal of code appear in an annotate?

I don't think so.

Which leaves taking diffs between specific versions, perhaps using divide and conquer to find the specific changeset.


I don't think it is possible, annotation does not show code removal. You can open the History dialog for a File, Ctrl+Select 2 fairly separate changesets and then Compare those and see if the line was there or not. Keep increasing/decreasing the range of the changesets until you find it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜