Search code examples
tfstfvcchangeset

How to get old version on TFS of c# project and make edits on it and check In the old version with edits?


I'm working on WPF c# project , I need to get specific version and make edits on it then check in the whole old version with my edits .

what I'm do is that I'm get Specific Version from TFS then make my edit then when check in i found that latest files before check In come again on my check In version , I didn't need them I just need the full old version with my edits.Please Advise..


Solution

  • Seems you want to change the existing changeset, unfortunately you cannot do that.

    If you want to get the old version sources, you can Rollback the changeset, you may need to resolve the conflicts during the rollback. (Rollback Command)

    If you want to get back and edit the sources based on the old version, then you can create a new branch as Siraf mentioned (eg : Branch from specific changeset). Then you can track the later changes on this new branch ( edit and check in the changes into the new branch.)

    enter image description here