{% extends 'allura:templates/repo/repo_master.html' %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}{% endblock %} {% block header %}{{c.app.config.options.mount_label}}{% endblock %} {% block content %} {{ clone_info(c.app.repo) }}
 
{% if log %}

Recent Commits{% if branch %} on {{branch}}{% endif %}

{{c.log_widget.display(value=log, show_paging=False, limit=limit, page=page, count=count)}} {% if int(count) > int(limit) %} More {% endif %} {% elif is_empty %} {% if h.has_access(c.app, 'write')() %}

New to Mercurial?

Learn the basics.
Empty Repository
It looks like this Mercurial repository doesn't have any files in it. Let's commit your project code now.

First time using Mercurial

{{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

Existing Repository

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
 
{% if h.asbool(config.get('auth.allow_upload_ssh_key')) %} Did you get asked for your {{config.site_name}} password during this process? You can securely use your Hg repository and avoid having to re-enter your password by setting up an ssh-key. {% else %} Did you get asked for your {{config.site_name}} password during this process? You can securely use your Hg repository and avoid having to re-enter your password by asking your server admin to enable uploading ssh keys. {% endif %}
{% else %}

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 %}