% if not dirname.raw:
% reltree = './'
% else:
% reltree = '../' * (len(dirname.split('/')) - 1)
% end
% relroot = reltree + '../' * (len(branch.split('/')) - 1)
git » {{repo.name}} »
{{branch}} » {{dirname.raw if dirname.raw else '/'}}
[{{branch}}] /
% base = smstr(reltree)
% for c in dirname.split('/'):
% if not c.raw:
% continue
% end
{{c.raw}} /
% base += c + '/'
% end
% kwargs = dict(repo = repo, tree=tree, treeroot=".")
% include tree-list **kwargs