changeset 81:2630a1c18816

Add command line option --revision to package a specific revision.
author Bernhard Herzog <bh@intevation.de>
date Fri, 11 May 2007 13:01:18 +0000
parents 0af2fa3790e0
children 3b9f35a50abf
files bin/runtreepkg.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)