changeset 1557:ad6f892f3134 beta

fixes issue with auto create of groups on windows
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 13 Oct 2011 04:32:19 +0200
parents 1efca2908ae4
children a682eda60840
files rhodecode/lib/utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/utils.py	Thu Oct 13 04:26:43 2011 +0200
+++ b/rhodecode/lib/utils.py	Thu Oct 13 04:32:19 2011 +0200
@@ -395,7 +395,7 @@
         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)