+ {#if $base}
+
+ {#each $base.upstreamCommits.slice(0, 2) as commit, index}
+
{
+ if (expanded) {
+ return $base.upstreamCommits.length - 1 === index;
+ } else {
+ if ($base.upstreamCommits.length > 2) {
+ return index === 1;
+ } else {
+ return $base.upstreamCommits.length - 1 === index;
+ }
+ }
+ })()}
+ isUnapplied={true}
+ commitUrl={$gitHost?.commitUrl(commit.id)}
+ type="remote"
+ filesToggleable={false}
+ />
+ {/each}
+ {#if $base.upstreamCommits.length > 2}
+ {#if expanded}
+ {#each $base.upstreamCommits.slice(2) as commit, index}
+
+ {/each}
+
+
+
+ {:else}
+
+
+
+ {/if}
+ {/if}
+
+ {/if}
+ {#if statuses.length > 0}
+
+ {#each statuses as { branch, status }}
+
+
+
{branch?.name || 'Unknown'}
+ {#if status.type === 'conflicted'}
+
Conflicted
+ {:else if status.type === 'saflyUpdatable' || status.type === 'empty'}
+
No Conflicts
+ {:else if status.type === 'fullyIntegrated'}
+
Integrated
+ {/if}
+
+
+
+ {#if status.type === 'fullyIntegrated'}
+
Changes included in base branch
+ {:else if results.get(branch.id)}
+
+ {/if}
+
+
+ {/each}
+
+ {/if}
+
+