}})
{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#} {% extends 'allura:templates/repo/repo_master.html' %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}{% endblock %} {% block head %} {% endblock %} {% block header %}{{c.app.config.options.mount_label}}{% endblock %} {% block content %} {{ clone_info(c.app.repo) }} {% if log %}
It's common practice among Subversion users to create a /trunk
,
/branches
, and /tags
directory at the root of each
repository. If you'd like to do that, follow these instructions:
{{c.app.repo.clone_command_first(anon=False, username=c.user.username)}} cd {{c.app.repo.suggested_clone_dest_path()}} mkdir trunk branches tags svn add trunk branches tags svn ci -m "Add initial directories"
To make the default checkout url for your repo point to your new
/trunk
directory instead of the root, click the
icon above to unlock the project menu.
Then click on icon of your SVN tool and on
'Checkout URL' in menu, add 'trunk' to the
end of the url, and click 'Save.'
cd existing-{{c.app.repo.suggested_clone_dest_path()}} svn import {{c.app.repo.clone_url_first(anon=False, username=c.user.username)}} -m "Initial commit"
Use the repository clone tool then check out a working copy once you receive a completion email.
{% 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 %}