It is possible to move a branch or folder in TFS - instead of copying the folder manually in the filesystem. The benefit of using TFS to move a folder is that it preserves the full history (and the parent/child relationship if its a branch) when merging.
Right-click on the folder to be moved and select 'Move...'
A dialog box appears letting you enter (or select) the new path and foldername.
Done. It's that easy - and the history is preserved.
"It's that easy", except that the Move menu is disabled for me, even though I have mapped all folders that live above the branch that I want to move. Any help would be appreciated.
ReplyDeleteYou need to have the parent folder mapped first. I didn't. I mapped the parent folders and it basically automatically moved the files for me. All my stuff was checked in, so I have no idea how it will handle it if it's not, because it prompted me to do a get as soon as I mapped the parent. Might make sense to backup files an check in before mapping the parent folder and doing a get.
Delete