summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-18 10:53:27 -0700
committerShawn O. Pearce <sop@google.com>2009-04-18 10:53:27 -0700
commit9bb961785832356ac7f3f2516d4627cc391a2997 (patch)
tree4510ccafe1ffb506680fe5bf47382c6287523120 /project.py
parentf6906876719a665819c603604603570363389d0d (diff)
downloadgit-repo-9bb961785832356ac7f3f2516d4627cc391a2997.tar.gz
Remove unused methods from project.ReviewableBranch
These used to be used back when we had Gerrit 1.x support and used HTTP based uploads to transmit changes for review. Since we moved entirely to Gerrit 2.x, these are no longer called. Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'project.py')
-rw-r--r--project.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/project.py b/project.py
index f2825028..79ade3b6 100644
--- a/project.py
+++ b/project.py
@@ -140,16 +140,6 @@ class ReviewableBranch(object):
140 self.replace_changes, 140 self.replace_changes,
141 people) 141 people)
142 142
143 @property
144 def tip_url(self):
145 me = self.project.GetBranch(self.name)
146 commit = self.project.bare_git.rev_parse(R_HEADS + self.name)
147 return 'http://%s/r/%s' % (me.remote.review, commit[0:12])
148
149 @property
150 def owner_email(self):
151 return self.project.UserEmail
152
153 143
154class StatusColoring(Coloring): 144class StatusColoring(Coloring):
155 def __init__(self, config): 145 def __init__(self, config):