Show More
@@ -192,6 +192,9 b' class RepoModel(BaseModel):' | |||
|
192 | 192 | if k == 'repo_group': |
|
193 | 193 | k = 'group_id' |
|
194 | 194 | |
|
195 | if k == 'description': | |
|
196 | v = v or repo_name | |
|
197 | ||
|
195 | 198 | setattr(new_repo, k, v) |
|
196 | 199 | |
|
197 | 200 | if fork: |
@@ -302,7 +305,7 b' class RepoModel(BaseModel):' | |||
|
302 | 305 | :param clone_uri: |
|
303 | 306 | """ |
|
304 | 307 | from rhodecode.lib.utils import is_valid_repo |
|
305 | ||
|
308 | ||
|
306 | 309 | if new_parent_id: |
|
307 | 310 | paths = Group.get(new_parent_id).full_path.split(Group.url_sep()) |
|
308 | 311 | new_parent_path = os.sep.join(paths) |
General Comments 0
You need to be logged in to leave comments.
Login now