Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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..

like image 522
Sarah Hamdy Avatar asked Nov 20 '17 13:11

Sarah Hamdy


2 Answers

You need to do a branch! get specific version will not help. You need to make a branch for the customer, then fix the issue in the customer branch and the main branch

like image 183
Siraf Avatar answered Sep 20 '22 13:09

Siraf


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

like image 42
Andy Li-MSFT Avatar answered Sep 21 '22 13:09

Andy Li-MSFT