[Treepkg-commits] r157 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 13 15:32:00 CET 2009
Author: bh
Date: 2009-01-13 15:31:59 +0100 (Tue, 13 Jan 2009)
New Revision: 157
Modified:
trunk/treepkg/packager.py
Log:
Use treepkg.subversion.ManualWorkingCopy for the debian directory in a
PackageTrack
Modified: trunk/treepkg/packager.py
===================================================================
--- trunk/treepkg/packager.py 2009-01-13 14:21:37 UTC (rev 156)
+++ trunk/treepkg/packager.py 2009-01-13 14:31:59 UTC (rev 157)
@@ -16,7 +16,7 @@
import new
import util
-from subversion import SvnRepository, SvnWorkingCopy
+from subversion import SvnRepository, SvnWorkingCopy, ManualWorkingCopy
import run
import status
import debian
@@ -339,6 +339,7 @@
repo = SvnRepository(svn_url, self.svn_external_subdirs)
self.working_copy = SvnWorkingCopy(repo, self.checkout_dir,
logger=logging)
+ self.rules_working_copy = ManualWorkingCopy(self.debian_dir)
checkout_dir = util.filenameproperty("checkout")
debian_dir = util.filenameproperty("debian")
@@ -419,7 +420,7 @@
def copy_debian_directory(self, to_dir):
logging.info("Copying debian directory to %r", to_dir)
- shutil.copytree(self.debian_dir, to_dir)
+ self.rules_working_copy.export(to_dir)
def debian_environment(self):
"""Returns the environment variables for the debian commands"""
More information about the Treepkg-commits
mailing list