[Treepkg-commits] r5 - trunk/bin
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri May 11 15:01:18 CEST 2007
Author: bh
Date: 2007-05-11 15:01:18 +0200 (Fri, 11 May 2007)
New Revision: 5
Modified:
trunk/bin/runtreepkg.py
Log:
Add command line option --revision to package a specific revision.
Modified: trunk/bin/runtreepkg.py
===================================================================
--- trunk/bin/runtreepkg.py 2007-05-11 13:00:41 UTC (rev 4)
+++ trunk/bin/runtreepkg.py 2007-05-11 13:01:18 UTC (rev 5)
@@ -33,6 +33,9 @@
help=("Check the packagers only once and exit afterwards."
" Without this option, the tree packager will"
" check periodically."))
+ parser.add_option("--revision",
+ help=("SVN revision to update to before attempting"
+ " to package."))
return parser.parse_args()
def main():
@@ -55,6 +58,7 @@
if packager_opts:
group = PackagerGroup([create_package_track(**opts)
for opts in packager_opts],
+ revision=options.revision,
**treepkg_opts)
if options.once:
group.check_package_tracks()
More information about the Treepkg-commits
mailing list