Compare Latest Version to Shelveset version

Discussion of open issues, suggestions and bugs regarding code review tool for Visual Studio – Review Assistant
Post Reply
lordneeko
Posts: 26
Joined: Fri 19 Dec 2014 16:58

Compare Latest Version to Shelveset version

Post by lordneeko » Mon 02 Mar 2015 15:13

To assist in merging work that was shelved a while back, we need to be able to compare what the latest copy of a file is in CM (which has changed since the shelveset was made) to the shelveset version. However, the only options available are

Compare Base (this appears to be the version that the shelveset is based on) to Last Revision
Compare Base with Working Copy
Compare Last Revision with Working Copy

In the TFS right-click compare options, there is a "Compare Latest to XXX version".

How can I do this in Review Assistant? Can I? If not, I need to be able to.

AlexeyN
Devart Team
Posts: 244
Joined: Wed 12 Sep 2012 12:09

Re: Compare Latest Version to Shelveset version

Post by AlexeyN » Tue 03 Mar 2015 12:58

You can update your working copy, so that it will contain the file in its latest version. Then launch 'Compare Last Revision with Working Copy', so it will compare a shelveset version with the latest available version. Is this solution suitable for you?

lordneeko
Posts: 26
Joined: Fri 19 Dec 2014 16:58

Re: Compare Latest Version to Shelveset version

Post by lordneeko » Tue 03 Mar 2015 15:30

If I can make the Working Copy the "Latest Version" and then still compare to
the shelveset version, then yes this would be acceptable workaround. The
obvious limitation would be if I (Reviewer) am currently working on that file
when Developer A asks me to review his/her work. I wouldn't want to overwrite
my work to review another's work, but I even that has a temporary work around.

I look forward to seeing this feature implemented in the future.

Thank you.

Post Reply