##// END OF EJS Templates
Fake post-push actions when doing git fetch. It's still want show...
marcink -
r3880:a228a33d beta
parent child Browse files
Show More
@@ -504,6 +504,14 b' class ScmModel(BaseModel):'
504 try:
504 try:
505 if repo.alias == 'git':
505 if repo.alias == 'git':
506 repo.fetch(clone_uri)
506 repo.fetch(clone_uri)
507 # git doesn't really have something like post-fetch action
508 # we fake that now. #TODO: extract fetched revisions somehow
509 # here
510 self._handle_push(repo,
511 username=username,
512 action='push_remote',
513 repo_name=repo_name,
514 revisions=[])
507 else:
515 else:
508 self._handle_rc_scm_extras(username, dbrepo.repo_name,
516 self._handle_rc_scm_extras(username, dbrepo.repo_name,
509 repo.alias, action='push_remote')
517 repo.alias, action='push_remote')
General Comments 0
You need to be logged in to leave comments. Login now