Show More
@@ -436,11 +436,8 class ScmModel(BaseModel): | |||
|
436 | 436 | author=author, |
|
437 | 437 | parents=[cs], branch=cs.branch) |
|
438 | 438 | |
|
439 | new_cs = tip.short_id | |
|
440 | action = 'push_local:%s' % new_cs | |
|
441 | ||
|
439 | action = 'push_local:%s' % tip.raw_id | |
|
442 | 440 | action_logger(user, action, repo_name) |
|
443 | ||
|
444 | 441 | self.mark_for_invalidation(repo_name) |
|
445 | 442 | |
|
446 | 443 | def create_node(self, repo, repo_name, cs, user, author, message, content, |
@@ -476,11 +473,9 class ScmModel(BaseModel): | |||
|
476 | 473 | tip = m.commit(message=message, |
|
477 | 474 | author=author, |
|
478 | 475 | parents=parents, branch=cs.branch) |
|
479 | new_cs = tip.short_id | |
|
480 | action = 'push_local:%s' % new_cs | |
|
481 | 476 | |
|
477 | action = 'push_local:%s' % tip.raw_id | |
|
482 | 478 | action_logger(user, action, repo_name) |
|
483 | ||
|
484 | 479 | self.mark_for_invalidation(repo_name) |
|
485 | 480 | |
|
486 | 481 | def get_nodes(self, repo_name, revision, root_path='/', flat=True): |
General Comments 0
You need to be logged in to leave comments.
Login now