Skip to content

Commit

Permalink
set rev_repo in build line information
Browse files Browse the repository at this point in the history
Fixes #992
  • Loading branch information
Dustin J. Mitchell committed Sep 24, 2010
1 parent efdb7f5 commit f9ed985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/buildbot/status/web/base.py
Expand Up @@ -351,6 +351,7 @@ def get_line_values(self, req, build, include_builder=True):
rev = "??"
rev = str(rev)
css_class = css_classes.get(results, "")
repo = build.getSourceStamp().repository

if type(text) == list:
text = " ".join(text)
Expand All @@ -363,6 +364,7 @@ def get_line_values(self, req, build, include_builder=True):
'buildurl': path_to_build(req, build),
'builderurl': path_to_builder(req, build.getBuilder()),
'rev': rev,
'rev_repo' : repo,
'time': time.strftime(self.LINE_TIME_FORMAT,
time.localtime(build.getTimes()[0])),
'text': text,
Expand Down

0 comments on commit f9ed985

Please sign in to comment.