elif ret:
msger.error("Failed to import %s" % path)
else:
- if args.no_merge:
- params.insert(1, '--no-merge')
+ if args.merge:
+ params.append('--merge')
+ else:
+ params.append('--no-merge')
if gbp_import_orig(params):
msger.error('Failed to import %s' % path)
parser.add_argument('--author-email', help='author email of git commit')
parser.add_argument('--upstream_branch', default='upstream',
help='specify upstream branch for new package version')
- parser.add_argument('--no-merge', action='store_true',
- help='don\'t merge new upstream branch to master')
+ parser.add_argument('--merge', action='store_true',
+ help='merge new upstream branch to master')
parser.add_argument('--packaging-dir',
help='directory containing packaging files')
parser.add_argument('--no-pristine-tar', action='store_true',