Merge "Fix: Update diff base to match old version history"

This commit is contained in:
Edwin Kempin
2012-08-14 05:39:24 -07:00
committed by gerrit code review

View File

@@ -89,6 +89,12 @@ public class PatchSetsBlock extends Composite {
for (final PatchSet ps : patchSets) {
final PatchSetComplexDisclosurePanel p =
new PatchSetComplexDisclosurePanel(ps, ps == currps);
if (diffBaseId != null) {
p.setDiffBaseId(diffBaseId);
if (ps == currps) {
p.refresh();
}
}
add(p);
patchSetPanelsList.add(p);
}