Changeset - ad6f892f3134
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-10-13 04:32:19
marcin@python-works.com
fixes issue with auto create of groups on windows
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -392,13 +392,13 @@ def repo2db_mapper(initial_repo_list, re
 
    # fixup groups paths to new format on the fly
 
    # TODO: remove this in future
 
    for g in Group.query().all():
 
        g.group_name = g.get_new_name(g.name)
 
        sa.add(g)    
 
    for name, repo in initial_repo_list.items():
 
        group = map_groups(name.split(os.sep))
 
        group = map_groups(name.split(Repository.url_sep()))
 
        if not rm.get_by_repo_name(name, cache=False):
 
            log.info('repository %s not found creating default', name)
 
            added.append(name)
 
            form_data = {
 
                         'repo_name': name,
 
                         'repo_name_full': name,
0 comments (0 inline, 0 general)