Mercurial > treepkg
diff test/test_readconfig.py @ 304:6cffb43a28ca
Add a way to specify svn subset checkouts where only parts of a source
tree are checked out. The subset can be specified in the configuration
file on a per-track basis.
This feature was already present for some of the kde enterprise
packagers but is now part of the base classes.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 26 Nov 2009 20:20:57 +0000 |
parents | e82fb08781a2 |
children | 3781e9958eba |
line wrap: on
line diff
--- a/test/test_readconfig.py Thu Nov 26 15:37:48 2009 +0000 +++ b/test/test_readconfig.py Thu Nov 26 20:20:57 2009 +0000 @@ -46,6 +46,8 @@ [pkg_extraargs] svn_url: svn://example.com/%(name)s/trunk +svn_subset: -N . + subdir base_dir: %(tracks_dir)s/%(name)s packager_class: readconfig_test.extraargs orig_tarball: %(base_dir)s/mytarball.tgz @@ -98,6 +100,7 @@ pkg_basename="", root_cmd=['sudo'], signing_key_id="", + svn_subset=[(".", False), ("subdir", True)], svn_url="svn://example.com/extraargs/trunk", rules_svn_url="file:///tmp/my-debian-repository", orig_tarball=("/home/builder/mill/" @@ -117,4 +120,5 @@ pkg_basename="simple1", root_cmd=['sudo'], signing_key_id="abcd1234", + svn_subset=[], svn_url="svn://example.com/simple/trunk")])