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