## -*- coding: utf-8 -*- %if c.repo_changesets:
${_('Revision')} | ${_('Commit Message')} | ${_('Age')} | ${_('Author')} | ${_('Refs')} | ||
---|---|---|---|---|---|---|
%if c.comments.get(cs.raw_id,[]):
${len(c.comments[cs.raw_id])}
|
${h.show_id(cs)} | ${h.urlify_commit(h.chop_at(cs.message,'\n'),c.repo_name, h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} | ${h.age(cs.date)} | ${h.person(cs.author)} |
%if h.is_hg(c.db_repo_scm_instance):
%for book in cs.bookmarks:
${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%endif
%for tag in cs.tags:
${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor
%if cs.branch:
${h.link_to(cs.branch,h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
%endif
|
${c.db_repo_scm_instance.alias} clone ${c.clone_repo_url} ${c.db_repo_scm_instance.alias} add README # add first file ${c.db_repo_scm_instance.alias} commit -m "Initial" # commit with message ${c.db_repo_scm_instance.alias} push ${'origin master' if h.is_git(c.db_repo_scm_instance) else ''} # push changes back
%if h.is_git(c.db_repo_scm_instance): git remote add origin ${c.clone_repo_url} git push -u origin master %else: hg push ${c.clone_repo_url} %endif%endif