Mercurial > treepkg
comparison bin/runtreepkg.py @ 517:de78084fcbce
rename do_svn_update in do_update because we provide svn and git support now
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Wed, 10 Nov 2010 13:17:32 +0000 |
parents | 5f442b0cf3a4 |
children |
comparison
equal
deleted
inserted
replaced
516:f2de1c162d30 | 517:de78084fcbce |
---|---|
45 help=("Stop the tree packager when a packaging" | 45 help=("Stop the tree packager when a packaging" |
46 " attempt fails.")) | 46 " attempt fails.")) |
47 parser.add_option("--revision", | 47 parser.add_option("--revision", |
48 help=("SVN revision to update to before attempting" | 48 help=("SVN revision to update to before attempting" |
49 " to package.")) | 49 " to package.")) |
50 parser.add_option("--no-svn-update", action="store_true", | 50 parser.add_option("--no-update", action="store_true", |
51 help=("Do not update the SVN workingcopy before" | 51 help=("Do not update the scm workingcopy before" |
52 " attempting to package.")) | 52 " attempting to package.")) |
53 parser.add_option("--track-option", action="callback", type="string", | 53 parser.add_option("--track-option", action="callback", type="string", |
54 callback=handle_track_option, | 54 callback=handle_track_option, |
55 help=("Sets a track-specific option." | 55 help=("Sets a track-specific option." |
56 " The argument should be of the form" | 56 " The argument should be of the form" |
80 | 80 |
81 if packager_opts: | 81 if packager_opts: |
82 group = PackagerGroup([create_package_track(**opts) | 82 group = PackagerGroup([create_package_track(**opts) |
83 for opts in packager_opts], | 83 for opts in packager_opts], |
84 revision=options.revision, | 84 revision=options.revision, |
85 do_svn_update=not options.no_svn_update, | 85 do_update=not options.no_update, |
86 stop_on_error=options.stop_on_error, | 86 stop_on_error=options.stop_on_error, |
87 **treepkg_opts) | 87 **treepkg_opts) |
88 if options.once: | 88 if options.once: |
89 group.check_package_tracks() | 89 group.check_package_tracks() |
90 else: | 90 else: |