Mercurial > kallithea
diff rhodecode/model/repo.py @ 1518:5585609772d0
merge beta fixes into stable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 07 Oct 2011 17:54:21 +0200 |
parents | bf263968da47 142a05597cba |
children | 752b0a7b7679 |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Fri Oct 07 02:53:29 2011 +0200 +++ b/rhodecode/model/repo.py Fri Oct 07 17:54:21 2011 +0200 @@ -192,6 +192,9 @@ if k == 'repo_group': k = 'group_id' + if k == 'description': + v = v or repo_name + setattr(new_repo, k, v) if fork: @@ -302,7 +305,7 @@ :param clone_uri: """ from rhodecode.lib.utils import is_valid_repo - + if new_parent_id: paths = Group.get(new_parent_id).full_path.split(Group.url_sep()) new_parent_path = os.sep.join(paths)