Show which user account each change was uploaded under
This way users are well aware of which account we used when the
uploads are complete, so they can be certain to sign into the web
application with that user identity.
Signed-off-by: Shawn O. Pearce <sop@google.com>
diff --git a/project.py b/project.py
index d9591c4..2b4a4f9 100644
--- a/project.py
+++ b/project.py
@@ -88,6 +88,10 @@
commit = self.project.bare_git.rev_parse(R_HEADS + self.name)
return 'http://%s/r/%s' % (me.remote.review, commit[0:12])
+ @property
+ def owner_email(self):
+ return self.project.UserEmail
+
class StatusColoring(Coloring):
def __init__(self, config):