repos/{{ repo.name }}/tree
{% set parts = path|split('/') %}
{% set cumulative = '' %}
{% for part in parts %}
/
{% if not loop.last %}
{% set cumulative = cumulative ~ '/' ~ part %}
{{ part }}
{% else %}
{{ part }}
{% endif %}
{% endfor %}
@ {{ rev }}