Mercurial > treepkg
diff test/test_readconfig.py @ 300:e82fb08781a2
Turn the SourcePackager class attribute changemsg_template into a
per-track configuration option called changelog_msg_template. For now,
the change is compatible with old SourcePackager subclasses that
override changemsg_template.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Fri, 20 Nov 2009 21:35:12 +0000 |
parents | c32dc72ba979 |
children | 6cffb43a28ca |
line wrap: on
line diff
--- a/test/test_readconfig.py Fri Nov 20 21:06:10 2009 +0000 +++ b/test/test_readconfig.py Fri Nov 20 21:35:12 2009 +0000 @@ -42,6 +42,7 @@ packager_class: readconfig_test.%(name)s handle_dependencies: True signing_key_id: abcd1234 +changelog_msg_template: Update to feature branch r%%(revision)d [pkg_extraargs] svn_url: svn://example.com/%(name)s/trunk @@ -83,6 +84,7 @@ [ dict(name="extraargs", base_dir="/home/builder/mill/tracks/extraargs", + changelog_msg_template="Update to revision %(revision)d", deb_email="treepkg@example.com", deb_fullname="TreePKG", deb_build_options="parallel=2", @@ -102,6 +104,8 @@ "tracks/extraargs/mytarball.tgz")), dict(name="simple", base_dir="/home/builder/mill/tracks/simple", + changelog_msg_template=("Update to feature branch" + " r%(revision)d"), deb_email="treepkg@example.com", deb_fullname="TreePKG", deb_build_options="",