diff test/test_readconfig.py @ 306:163f0d8b64eb

Make the svn external subdirectories configurable in the configuration file with the per-track option svn_externals. The class attribute svn_external_subdirs is still used if svn_externals were specified.
author Bernhard Herzog <bh@intevation.de>
date Tue, 01 Dec 2009 11:42:14 +0000
parents 3781e9958eba
children 23be5ab5bc7c
line wrap: on
line diff
--- a/test/test_readconfig.py	Tue Dec 01 11:26:47 2009 +0000
+++ b/test/test_readconfig.py	Tue Dec 01 11:42:14 2009 +0000
@@ -49,6 +49,7 @@
 svn_url: svn://example.com/%(name)s/trunk
 svn_subset: -N .
             subdir
+svn_externals: scripts admin
 base_dir: %(tracks_dir)s/%(name)s
 packager_class: readconfig_test.extraargs
 orig_tarball: %(base_dir)s/mytarball.tgz
@@ -101,6 +102,7 @@
                  pkg_basename="",
                  root_cmd=['sudo'],
                  signing_key_id="",
+                 svn_externals=["scripts", "admin"],
                  svn_subset=[(".", False), ("subdir", True)],
                  svn_url="svn://example.com/extraargs/trunk",
                  rules_svn_url="file:///tmp/my-debian-repository",
@@ -122,6 +124,7 @@
                  pkg_basename="simple1",
                  root_cmd=['sudo'],
                  signing_key_id="abcd1234",
+                 svn_externals=[],
                  svn_subset=[],
                  svn_url="svn://example.com/simple/trunk",
                  version_template="1.0.svn%(revision)s")])
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)