## -*- coding: utf-8 -*- %if c.repo_changesets: %for cnt,cs in enumerate(c.repo_changesets): %endfor
${_('commit message')} ${_('age')} ${_('author')} ${_('revision')} ${_('branch')} ${_('tags')}
${h.link_to(h.truncate(cs.message,50), h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id), title=cs.message)} ${h.age(cs.date)} ${h.person(cs.author)} r${cs.revision}:${h.short_id(cs.raw_id)} ${cs.branch} %for tag in cs.tags: ${tag} %endfor
${c.repo_changesets.pager('$link_previous ~2~ $link_next')}
%else: %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):

${_('Add or upload files directly via RhodeCode')}

${_('add new file')}
%endif

${_('Push new repo')}

    hg clone ${c.clone_repo_url}
    hg add README # add first file
    hg commit -m "Initial" # commit with message
    hg push # push changes back

${_('Existing repository?')}

    hg push ${c.clone_repo_url}
%endif