{% extends "base.html" %} {% block title %}Compare — {{ project.name }} — Fossilrepo{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

{{ project.name }}

{% include "fossil/_project_nav.html" %}

Compare Checkins

{% if from_detail and to_detail %}
From
{{ from_detail.comment|truncatechars:60 }}
{{ from_detail.user }} · {{ from_detail.timestamp|date:"Y-m-d H:i" }}
To
{{ to_detail.comment|truncatechars:60 }}
{{ to_detail.user }} · {{ to_detail.timestamp|date:"Y-m-d H:i" }}
{% if file_diffs %}
{% for fd in file_diffs %}
{{ fd.name }}
{% if fd.additions %}+{{ fd.additions }}{% endif %} {% if fd.deletions %}-{{ fd.deletions }}{% endif %}
{% for dl in fd.diff_lines %} {% endfor %}
{{ dl.old_num }} {{ dl.new_num }} {{ dl.prefix }}{{ dl.code }}
{% for dl in fd.split_left %} {% endfor %}
{{ dl.old_num }} {% if dl.type == 'empty' %} {% elif dl.type == 'hunk' or dl.type == 'header' %}{{ dl.text }}{% else %}{{ dl.code }}{% endif %}
{% for dl in fd.split_right %} {% endfor %}
{{ dl.new_num }} {% if dl.type == 'empty' %} {% elif dl.type == 'hunk' or dl.type == 'header' %}{{ dl.text }}{% else %}{{ dl.code }}{% endif %}
{% endfor %}
{% else %}

No differences found between these checkins.

{% endif %} {% elif from_uuid and to_uuid %}

One or both checkins not found.

{% endif %} {% endblock %}