}})
{% extends 'allura:templates/repo/repo_master.html' %} {% block title %} {% if c.app.repo %} Mercurial Repository: {{c.app.repo.name}} {% else %} Mercurial Repository {% endif %} {% endblock %} {% block header %}{{c.app.config.options.mount_label}}{% endblock %} {% block content %} {{ clone_info(c.app.repo) }}
{{c.app.repo.clone_command_first(anon=False, username=c.user.username)}} cd {{c.app.repo.suggested_clone_dest_path()}} touch README hg add hg commit -m 'Initial commit' hg push
Add the new repository as a remote in .hg/hgrc like this:
[paths] default = {{ c.app.repo.clone_url_first(anon=False, username=c.user.username) }}
Now you can push your code to the repository.
cd {{c.app.repo.suggested_clone_dest_path()}} hg push
No (more) commits
{% endif %} {% elif c.app.repo.status == 'ready' %} {% if h.has_access(c.app, 'write')() %}Browsing this repo on the web is unavailable currently. To fix, please try a Repository Refresh. Committing and pulling code should still work.
{% else %}No (more) commits
{% endif %} {% endif %} {% endblock %}