[Treepkg-commits] r479 - in trunk: test treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 10 13:03:58 CET 2010
Author: bricks
Date: 2010-11-10 13:03:58 +0100 (Wed, 10 Nov 2010)
New Revision: 479
Modified:
trunk/test/test_readconfig.py
trunk/treepkg/readconfig.py
Log:
read scm_type and rules_scm_type from config
Modified: trunk/test/test_readconfig.py
===================================================================
--- trunk/test/test_readconfig.py 2010-11-10 11:35:47 UTC (rev 478)
+++ trunk/test/test_readconfig.py 2010-11-10 12:03:58 UTC (rev 479)
@@ -121,6 +121,8 @@
builder_cls="PBuilder",
os="bar os",
svn_url=None,
+ scm_type="svn",
+ rules_scm_type="svn",
status_hook="echo extra hook"),
dict(name="simple",
base_dir="/home/builder/mill/tracks/simple",
@@ -145,6 +147,8 @@
builder_cls="PBuilder",
os="foo os",
svn_url=None,
+ scm_type="svn",
+ rules_scm_type="svn",
status_hook="echo simple hook")])
def main():
Modified: trunk/treepkg/readconfig.py
===================================================================
--- trunk/treepkg/readconfig.py 2010-11-10 11:35:47 UTC (rev 478)
+++ trunk/treepkg/readconfig.py 2010-11-10 12:03:58 UTC (rev 479)
@@ -81,7 +81,9 @@
("branch", str,""),
("os", str, ""),
("builder_cls", str, "PBuilder"),
- ("status_hook", str, "")
+ ("status_hook", str, ""),
+ ("scm_type", str, "svn"),
+ ("rules_scm_type", str, "svn")
]
treepkg_desc = [
More information about the Treepkg-commits
mailing list