diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-18 10:53:27 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-18 10:53:27 -0700 |
commit | 9bb961785832356ac7f3f2516d4627cc391a2997 (patch) | |
tree | 4510ccafe1ffb506680fe5bf47382c6287523120 /project.py | |
parent | f6906876719a665819c603604603570363389d0d (diff) | |
download | git-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.py | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 | ||
154 | class StatusColoring(Coloring): | 144 | class StatusColoring(Coloring): |
155 | def __init__(self, config): | 145 | def __init__(self, config): |