[jhbuild] Implement branchname in class SystemBranch (GNOME bug 685264)



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]