Mercurial > kallithea
changeset 2511:33c69eb9df9f beta
Fixed create function landing_rev. default branch can actually be different for new imported repos. Tip is always there
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 26 Jun 2012 03:42:37 +0200 |
parents | 9059b2d91303 |
children | 8ece6d04a282 |
files | rhodecode/lib/utils.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Tue Jun 26 03:40:24 2012 +0200 +++ b/rhodecode/lib/utils.py Tue Jun 26 03:42:37 2012 +0200 @@ -458,7 +458,9 @@ if repo.description != 'unknown' else '%s repository' % name, 'private': False, 'group_id': getattr(group, 'group_id', None), - 'landing_rev': repo.DEFAULT_BRANCH_NAME + 'landing_rev': 'tip', + 'clone_uri': None, + 'repo_group': None, } rm.create(form_data, user, just_db=True) sa.commit()