# HG changeset patch # User Bernhard Herzog # Date 1178888478 0 # Node ID 2630a1c18816ea85f0fe816b06303b1f6b966b79 # Parent 0af2fa3790e03e3ec892f75cd61e11a6c6fa512b Add command line option --revision to package a specific revision. diff -r 0af2fa3790e0 -r 2630a1c18816 bin/runtreepkg.py --- a/bin/runtreepkg.py Fri May 11 13:00:41 2007 +0000 +++ b/bin/runtreepkg.py Fri May 11 13:01:18 2007 +0000 @@ -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()