Signed-off-by: Yann Dirson <ydirson@altern.org>
options = [make_option('-n', '--nopush',
help = 'do not push the patches back after rebasing',
options = [make_option('-n', '--nopush',
help = 'do not push the patches back after rebasing',
+ action = 'store_true'),
+ make_option('-m', '--merged',
+ help = 'check for patches merged upstream',
action = 'store_true')]
def func(parser, options, args):
action = 'store_true')]
def func(parser, options, args):
# push the patches back
if not options.nopush:
# push the patches back
if not options.nopush:
+ push_patches(applied, options.merged)