Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Branch-based review: how to see diff between parent branch and current, not diff of each commit on dev branch?

Eddie Galvez February 6, 2015

In 3.7, I'm using the branch based stuff, but what our developers are trying to achieve, is a review of the final branch contents when ready for delivering back to its parent branch; thus, the CR should show each file that changed relative to the parent branch.

But instead each diff shown is always the diff for that particular commit, not against the parent branch.

 

How do we get this?

1 answer

0 votes
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2015

Hi @Eddie Galvez,

If by

I'm using the branch based stuff

you mean you are adding branches to review as explained in https://confluence.atlassian.com/display/CRUCIBLE/Adding+content+to+the+review#Addingcontenttothereview-Branches then you should see expected diffs.  Basically assuming you are working on a feature branch called "featureBranch", you branched from "parentBranch" and you are about to merge changes back to "parentBranch" but want to review your changes, all you need to do is to add branch to review selecting "featureBranch" as a "Branch to review" and ensuring base branch is set to "parentBranch".  Once you do this, you should see only 2 revisions of each file, one being the last changeset on the "parentBranch" made prior to the branch point and the other being the last change of that file on a "featureBranch".

Hope that helps,
Piotr 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events