From 9bb961785832356ac7f3f2516d4627cc391a2997 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sat, 18 Apr 2009 10:53:27 -0700 Subject: [PATCH] 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 --- project.py | 10 ---------- 1 file changed, 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): self.replace_changes, people) - @property - def tip_url(self): - me = self.project.GetBranch(self.name) - 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):