changeset 225:93301afac8d4

Adapt enterprise_4 kde_l10n recipe to treepkg changes
author Bernhard Herzog <bh@intevation.de>
date Thu, 08 Jan 2009 19:35:56 +0000
parents 6bac65dcf258
children 766df0172f0b
files recipes/kde_enterprise_4/kde_l10n.py
diffstat 1 files changed, 3 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/recipes/kde_enterprise_4/kde_l10n.py	Thu Jan 08 16:55:18 2009 +0000
+++ b/recipes/kde_enterprise_4/kde_l10n.py	Thu Jan 08 19:35:56 2009 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2007, 2008 by Intevation GmbH
+# Copyright (C) 2007, 2008, 2009 by Intevation GmbH
 # Authors:
 # Bernhard Herzog <bh@intevation.de>
 #
@@ -169,17 +169,9 @@
 
     def __init__(self, *args, **kw):
         self.version_template = kw.pop("version_template")
+        svn_url = kw["svn_url"]
         super(PackageTrack, self).__init__(*args, **kw)
-        self.working_copy = SubversionSubset(self.svn_url, self.checkout_dir,
+        self.working_copy = SubversionSubset(svn_url, self.checkout_dir,
                                              subdirectories= [("", False),
                                                               ("de",),
                                                               ("scripts",)])
-
-    def last_changed_revision(self):
-        return self.working_copy.last_changed_revision()
-
-    def update_checkout(self, revision=None):
-        self.working_copy.update_or_checkout(revision=revision)
-
-    def export_sources(self, to_dir):
-        self.working_copy.export(to_dir)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)