##// END OF EJS Templates
events: use branch from previous commit for repo push event commits...
dan -
r815:34e1c499 default
parent child Browse files
Show More
@@ -237,6 +237,11 b' class RepoPushEvent(RepoVCSEvent):'
237
237
238 commits = _commits_as_dict(
238 commits = _commits_as_dict(
239 commit_ids=self.pushed_commit_ids, repos=[self.repo])
239 commit_ids=self.pushed_commit_ids, repos=[self.repo])
240
241 last_branch = None
242 for commit in reversed(commits):
243 commit['branch'] = commit['branch'] or last_branch
244 last_branch = commit['branch']
240 issues = _issues_as_dict(commits)
245 issues = _issues_as_dict(commits)
241
246
242 branches = set(
247 branches = set(
General Comments 0
You need to be logged in to leave comments. Login now