{% extends "base.html" %} {% block title %}#{{ pull_request.number }} {{ pull_request.title }} · {{ owner }}/{{ repository }} · tit{% endblock %} {% block content %}

{{ owner }}/{{ repository }}

#{{ pull_request.number }} {{ pull_request.title }}

{{ pull_request.state }} · opened by {{ pull_request.author }} at · updated

Base: {{ pull_request.base_ref }} at {{ pull_request.base_object_id }}

Head: {{ pull_request.head_ref }} at {{ pull_request.head_object_id }}

Fetch: git fetch origin refs/pull/{{ pull_request.number }}/head

{{ body_html|safe }}

Revisions

    {% for revision in revisions %}
  1. {{ revision.author }} recorded {{ revision.head_object_id }} against {{ revision.base_object_id }} at . {% if revision.number == selected_revision %} Selected {% else %} Compare this revision {% endif %}
  2. {% endfor %}

Reviews

{% if reviews.is_empty() %}

This pull request has no review activity.

{% else %} {% for review in reviews %}

{{ review.author }}: {{ review.kind }} at

Revision {{ review.revision }} {% if review.kind == "line-comment" %} · {{ review.commit_object_id }} · {{ review.path }} · {{ review.side }} line {{ review.line }} {% if review.outdated %} · Outdated {% endif %} {% endif %}

{% if review.has_body %}
{{ review.body_html|safe }}
{% endif %}
{% endfor %} {% endif %}

Timeline

    {% for event in timeline %}
  1. {{ event.actor }}: {{ event.kind }} at
  2. {% endfor %}

Comparison for revision {{ selected_revision }}

Merge base: {{ comparison.merge_base }}

Mergeability: {{ comparison.mergeability }}

Commits

{% if comparison.commits.is_empty() %}

This revision has no commits that are not in the base.

{% else %}
    {% for commit in comparison.commits %}
  1. {{ commit.id }} {{ commit.message }}
  2. {% endfor %}
{% endif %}

Changed paths

{% if comparison.changed_paths.is_empty() %}

This revision does not change a path.

{% else %} {% endif %}

Diff

{% for file in comparison.files %}

{{ file.path }}

{% if file.binary %}

This file has binary content.

{% else %}
{{ file.hunks }}
{% if can_review %}
{% endif %} {% endif %}
{% endfor %}
{% if can_review %}

Review this revision

{% endif %} {% if can_revise %}
{% endif %} {% endblock %}