Restoring file history in TFS
If for some reason during merge, rename or move you lost history in TFS don't turn upset. There is still an easy way to restore history. The below call will merge only history and will not modify the contents of the files.
call tf merge /version:295449 /baseless /recursive /discard "$/MyProject/SourceBranch" "$/MyProject/TargetBranch"
call tf merge /version:295449 /baseless /recursive /discard "$/MyProject/SourceBranch" "$/MyProject/TargetBranch"
Comments
Post a Comment