For the test, I have a simple console application, and I commit it (Initial). Then I add a comment and commit it (00). Then I modify the comment and commit it (01)
Now I just want to go back to 00.
Changes | Actions | View History right-click 00 | Revert Are you sure you want to revert .... | Yes
At this point, I get a conflict: Program.cs [both changed]. But why will it be a conflict - I just want to return to the previous version ?. I click this and then I have options:
Merge (button) Edited on Source | Diff | Take Source (links) Edited on Target | Diff | Take Source (links)
If I click "Merge", I will see three different panels, all with different versions (source, target, and merge).
The source looks like my first version (initial), the target looks like my current version (01), and the merge looks like what I chose to go back to (00).
If I close this window, I get a dialog that asks if I want to accept the results of the merge - and from there I can return with the merged document.
Can you explain what the source and target panels mean (it seems that the goal is my current version, but the source code looks like the version before this reversal I want (it looks like the initial one!).
Ultimately, I can save the source panel, target panel, or merge results, essentially returning to any of these three options. Is VS 2015 the way it works? The key question is: what if I just want to completely go back to the previous file without merging?
Also ... I noticed that when I watched the Microsoft Build Demo demo on this tool, they made a refund and did not have the problem that I mentioned above. https://channel9.msdn.com/Events/Build/2015/3-746 (see mark 7:30).
Thanks!
ps I did not find documentation on how the reverse works for this tool on the Internet, so if there is one, specify this link and I will look there :)