comparison recipes/kde_enterprise_4/kde_l10n.py @ 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 56aa89c588a1
children 766df0172f0b
comparison
equal deleted inserted replaced
224:6bac65dcf258 225:93301afac8d4
1 # Copyright (C) 2007, 2008 by Intevation GmbH 1 # Copyright (C) 2007, 2008, 2009 by Intevation GmbH
2 # Authors: 2 # Authors:
3 # Bernhard Herzog <bh@intevation.de> 3 # Bernhard Herzog <bh@intevation.de>
4 # 4 #
5 # This program is free software under the GPL (>=v2) 5 # This program is free software under the GPL (>=v2)
6 # Read the file COPYING coming with the software for details. 6 # Read the file COPYING coming with the software for details.
167 167
168 revision_packager_cls = RevisionPackager 168 revision_packager_cls = RevisionPackager
169 169
170 def __init__(self, *args, **kw): 170 def __init__(self, *args, **kw):
171 self.version_template = kw.pop("version_template") 171 self.version_template = kw.pop("version_template")
172 svn_url = kw["svn_url"]
172 super(PackageTrack, self).__init__(*args, **kw) 173 super(PackageTrack, self).__init__(*args, **kw)
173 self.working_copy = SubversionSubset(self.svn_url, self.checkout_dir, 174 self.working_copy = SubversionSubset(svn_url, self.checkout_dir,
174 subdirectories= [("", False), 175 subdirectories= [("", False),
175 ("de",), 176 ("de",),
176 ("scripts",)]) 177 ("scripts",)])
177
178 def last_changed_revision(self):
179 return self.working_copy.last_changed_revision()
180
181 def update_checkout(self, revision=None):
182 self.working_copy.update_or_checkout(revision=revision)
183
184 def export_sources(self, to_dir):
185 self.working_copy.export(to_dir)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)