##// END OF EJS Templates
Fixed create function landing_rev. default branch can actually be different for new imported repos. Tip is always there
marcink -
r2511:33c69eb9 beta
parent child Browse files
Show More
@@ -458,7 +458,9 def repo2db_mapper(initial_repo_list, re
458 if repo.description != 'unknown' else '%s repository' % name,
458 if repo.description != 'unknown' else '%s repository' % name,
459 'private': False,
459 'private': False,
460 'group_id': getattr(group, 'group_id', None),
460 'group_id': getattr(group, 'group_id', None),
461 'landing_rev': repo.DEFAULT_BRANCH_NAME
461 'landing_rev': 'tip',
462 'clone_uri': None,
463 'repo_group': None,
462 }
464 }
463 rm.create(form_data, user, just_db=True)
465 rm.create(form_data, user, just_db=True)
464 sa.commit()
466 sa.commit()
General Comments 0
You need to be logged in to leave comments. Login now