diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2011-05-23 02:46:43 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2011-05-23 02:46:43 +0200 |
commit | 139f62c87a7de37a27dbad66ab4e802333cc550f (patch) | |
tree | da0612d82e9e57363ff96b3e9e7ab7992874c6d0 /rhodecode/model/forms.py | |
parent | 4f0c3932fdffe2c764b71bf8e13f963eba179002 (diff) |
#47 implemented deleting of empty groups. Fixed problem with full paths on nested groups
--HG--
branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r-- | rhodecode/model/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index ad39447d..a97f37ad 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -237,9 +237,9 @@ def ValidRepoName(edit, old_data): if value.get('repo_group'): gr = Group.get(value.get('repo_group')) group_path = gr.full_path - # value needs to be aware of group name - # it has to use '/' - repo_name_full = group_path + '/' + repo_name + # value needs to be aware of group name in order to check + # db key + repo_name_full = group_path + Group.url_sep() + repo_name else: group_path = '' repo_name_full = repo_name |