开发者

Best way to fix an out-of-sync TFS workspace after a back-up/restore

Wednesday I had to restore from a back-up image I made on Monday. At the time of the snapshot I had about 20 files modified, which I later checked in, and more, on Tuesday. Now that I am back to a snapshot from Monday morning, my workspace 开发者_运维问答has all of these files checked-out or added, etc. even my check-in comments and work-item associations. But I already did that check-in on Tuesday.

I'm thinking I will shelve all the pending changes (just in-case), and then just undo all changes, and get latest (specific version). And I should be back to good.

Any cautions or suggestions?

(TFS 2008, VS2010)


If you are sure you checked everything in before you restored, and the TFS server has the right versions of all the files, you may be safer just to delete your workspace and make a new one.

This will make sure everything is where it should be, and you won't run the risk of something accidentally getting overwritten or modified when you didn't want it to.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜