cancel
Showing results for 
Search instead for 
Did you mean: 

Diff viewer screen doesn't default "Before" pane to earliest revision?

SOLVED
Highlighted
Occasional Contributor

Diff viewer screen doesn't default "Before" pane to earliest revision?

When looking at a review with the materials section configured as "Overlay"

 

Clicking on a file takes you to the diff viewer, but rather than have the "Before" pane be the original version and the "After" pane be the most recent.  The "Before" pane is the revision prior to the most recent...

 

Example, added revision 2,3,4 to a review...

I'd expect the diff viewer to show the code as changed from revision 1 to 4 by default...but it doesn't.  It shows changes from 3 to 4.

 

So unless the reviewer checks and changes the "Before", he could be missing much of the changes...

 

Is this a bug?  Or working as designed?  If the latter, is there any way to configure how it works?

 

Thank you,

Charles

2 REPLIES
Staff

Re: Diff viewer screen doesn't default "Before" pane to earliest revision?

Hi Charles,

You can configure what revisions DiffViewer will compare in before and after panes via the Diff Viewer Default Version Comparison setting in user preferences.

Most likely, your current setting is "Two most current versions" that is why it shows changes from 3 to 4. To see changes from 1 to 4 you'll need to select the "All changes" value for the setting

Artem
SmartBear Technical Writer
-----
I’m not a member of the SmartBear Support Team, I’m just helping users in this community. Any views or opinions expressed do not necessarily represent those of SmartBear Software.
Occasional Visitor

Re: Diff viewer screen doesn't default "Before" pane to earliest revision?

I have a similar situation to the OP. With regards to this setting, which version is the "base" version and which is the "first uploaded" version?

 

The behavior I see isn't what I expect. When I select "current vs base version" I'm still seeing 4 vs 3. When I select 
"First Uploaded vs Last Uploaded" I see 4 vs 2.

 

What does Collaborator consider "base" and what does it consider "first uploaded"?

Share Your Stories
Read Latest News
Top Kudoed Authors