{% extends "layout.html" %} {% block title %}Revision Log{% endblock %} {% block content %} {% if message is not none %}
{{ message }}
{% endif %}

Queried revision:

{% if sha1_git is not none %}
Revision with git SHA1 {{ sha1_git }}
{% else %}
Origin ID {{ origin_id }}
Branch name {{ branch_name }}
{% if timestamp is not none %}
Time stamp {{ timestamp }}
{% endif %} {% endif %}
{% if revisions is not none %}
{% for revision in revisions %} {% if revision['merge'] %}
Merge
{% for url in revision['parent_urls'] %} {{ url | revision_id_from_url }} {% endfor %}
{% endif %} {% if revision['url'] is not none %}
Revision
{% endif %} {% if revision['history_url'] is not none %}
Revision Log
{% endif %} {% if revision['history_context_url'] is not none %}
Contextual Revision Log
{% endif %} {% if revision['directory_url'] is not none %}
directory
{% endif %} {% if revision['author'] is not none %}
Author

{{ revision['author']['name'] }} {% if 'decoding_failures' in revision['author'] %}(some decoding errors){% endif %}

Date

{{ revision['date'] }}

{% endif %} {% if revision['committer'] is not none %}
Committer

{{ revision['committer']['name'] }} {% if 'decoding_failures' in revision['committer'] %}(some decoding errors){% endif %}

Committer Date

{{ revision['committer_date'] }}

{% endif %} {% if revision['message'] is not none %}
Message
{{ revision['message'] }}
{% elif revision['message_encoding_failed'] %}
Message
{% else %}
Message
No message found.
{% endif %} {% for key in revision.keys() %} {% if key in ['type', 'synthetic'] and key not in ['decoding_failures'] and revision[key] is not none %}
{{ key }}
{{ revision[key] }}
{% endif %} {% endfor %} {% for key in ['children_urls', 'parent_urls'] %} {% if revision[key] is not none %}
{{ key }}
{% for link in revision[key] %} {% endfor %}
{% endif %} {% endfor %} {% if 'decoding_failures' in revision %}
(some decoding errors occurred)
{% endif %}
{% endfor %} {% if next_revs_url is not none %} Next revisions {% endif %} {% endif %}

{% endblock %}