summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2008-10-22 13:13:40 -0700
committerShawn O. Pearce <sop@google.com>2008-10-22 13:13:40 -0700
commit0758d2f1d61288c83282749d2b36958d2c289e7f (patch)
tree484a67366aeb84d83147eeec2ba4fd459dbf0879 /project.py
parentbb0ee8057165a9d54e1e1ab9addb15a2a57ccfc1 (diff)
downloadgit-repo-0758d2f1d61288c83282749d2b36958d2c289e7f.tar.gz
Show which user account each change was uploaded underv1.0.3
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>
Diffstat (limited to 'project.py')
-rw-r--r--project.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/project.py b/project.py
index d9591c40..2b4a4f95 100644
--- a/project.py
+++ b/project.py
@@ -88,6 +88,10 @@ class ReviewableBranch(object):
88 commit = self.project.bare_git.rev_parse(R_HEADS + self.name) 88 commit = self.project.bare_git.rev_parse(R_HEADS + self.name)
89 return 'http://%s/r/%s' % (me.remote.review, commit[0:12]) 89 return 'http://%s/r/%s' % (me.remote.review, commit[0:12])
90 90
91 @property
92 def owner_email(self):
93 return self.project.UserEmail
94
91 95
92class StatusColoring(Coloring): 96class StatusColoring(Coloring):
93 def __init__(self, config): 97 def __init__(self, config):