##// END OF EJS Templates
use raw_id in push_local action
marcink -
r2655:5a39eb37 beta
parent child Browse files
Show More
@@ -436,11 +436,8 b' class ScmModel(BaseModel):'
436 author=author,
436 author=author,
437 parents=[cs], branch=cs.branch)
437 parents=[cs], branch=cs.branch)
438
438
439 new_cs = tip.short_id
439 action = 'push_local:%s' % tip.raw_id
440 action = 'push_local:%s' % new_cs
441
442 action_logger(user, action, repo_name)
440 action_logger(user, action, repo_name)
443
444 self.mark_for_invalidation(repo_name)
441 self.mark_for_invalidation(repo_name)
445
442
446 def create_node(self, repo, repo_name, cs, user, author, message, content,
443 def create_node(self, repo, repo_name, cs, user, author, message, content,
@@ -476,11 +473,9 b' class ScmModel(BaseModel):'
476 tip = m.commit(message=message,
473 tip = m.commit(message=message,
477 author=author,
474 author=author,
478 parents=parents, branch=cs.branch)
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 action_logger(user, action, repo_name)
478 action_logger(user, action, repo_name)
483
484 self.mark_for_invalidation(repo_name)
479 self.mark_for_invalidation(repo_name)
485
480
486 def get_nodes(self, repo_name, revision, root_path='/', flat=True):
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