[jhbuild] Implement branchname in class SystemBranch (GNOME bug	685264)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [jhbuild] Implement branchname in class SystemBranch (GNOME bug	685264)
- Date: Thu,  4 Oct 2012 11:47:15 +0000 (UTC)
commit 5d2c45489be31d459aae1adef97d74eb9b9b6738
Author: Craig Keogh <cskeogh adam com au>
Date:   Tue Oct 2 17:09:48 2012 +0930
    Implement branchname in class SystemBranch (GNOME bug 685264)
    
    branchname is needed for jhbuild dot
 jhbuild/versioncontrol/system.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/versioncontrol/system.py b/jhbuild/versioncontrol/system.py
index 13a49c4..8b4469c 100644
--- a/jhbuild/versioncontrol/system.py
+++ b/jhbuild/versioncontrol/system.py
@@ -37,6 +37,10 @@ class SystemBranch(Branch):
         Branch.__init__(self, repository, module = None, checkoutdir = None)
         self.version = version
 
+    def branchname(self):
+        return self.version
+    branchname = property(branchname)
+
     def to_sxml(self):
         return ([sxml.branch(module=self.module,
                              repo=self.repository,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]