Mercurial > treepkg
changeset 231:7dbf0a3443bb
Use treepkg.subversion.ManualWorkingCopy for the debian directory in a
PackageTrack
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 13 Jan 2009 14:31:59 +0000 |
parents | e387b879fd38 |
children | e3cda08d2619 |
files | treepkg/packager.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/packager.py Tue Jan 13 14:21:37 2009 +0000 +++ b/treepkg/packager.py Tue Jan 13 14:31:59 2009 +0000 @@ -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"""