[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/bin/Source
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2010-12-23 10:52:13
Message-ID: 20101223105213.9A70C3E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1208801 by sengels:

add additional functions

 M  +4 -0      GitSource.py  
 M  +6 -2      MultiSource.py  


--- trunk/kdesupport/emerge/bin/Source/GitSource.py #1208800:1208801
@@ -217,6 +217,10 @@
             print self.__getCurrentBranch()[ 1: ]
         return True
         
+    def checkoutDir(self, index=0 ): 
+        utils.trace( 'GitSource checkoutDir', 2 )
+        return VersionSystemSourceBase.checkoutDir( self, index )
+
     def sourceDir(self, index=0 ): 
         utils.trace( 'GitSource sourceDir', 2 )
         repopath = self.repositoryUrl()
--- trunk/kdesupport/emerge/bin/Source/MultiSource.py #1208800:1208801
@@ -23,9 +23,9 @@
         utils.trace( "MultiSource localFileNames", 2 )
         return self.source.localFileNamesBase()
 
-    def fetch(self):
+    def fetch( self, repopath = None ):
         utils.trace( "MultiSource fetch", 2 )
-        return self.source.fetch()
+        return self.source.fetch( repopath )
         
     def checkDigest(self):
         utils.trace( "MultiSource checkDigest", 2 )
@@ -36,6 +36,10 @@
         self.source.buildSystemType = self.buildSystemType
         return self.source.unpack()
 
+    def checkoutDir(self):
+        utils.trace( "MultiSource checkoutDir", 2 )
+        return self.source.checkoutDir()
+
     def sourceDir(self):
         utils.trace( "MultiSource sourceDir", 2 )
         return self.source.sourceDir()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic