Changeset - 33c69eb9df9f
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-06-26 03:42:37
marcin@python-works.com
Fixed create function landing_rev. default branch can actually be different for new imported repos. Tip is always there
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -458,7 +458,9 @@ def repo2db_mapper(initial_repo_list, re
 
                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()
0 comments (0 inline, 0 general)