(subparsers, repo)
| 13 | |
| 14 | |
| 15 | def parser(subparsers, repo): |
| 16 | desc = 'merge the divergent changes of one branch onto another' |
| 17 | merge_parser = subparsers.add_parser( |
| 18 | 'merge', help=desc, description=desc.capitalize()) |
| 19 | group = merge_parser.add_mutually_exclusive_group() |
| 20 | group.add_argument( |
| 21 | 'src', nargs='?', help='the source branch to read changes from') |
| 22 | group.add_argument( |
| 23 | '-a', '--abort', help='abort the merge in progress', action='store_true') |
| 24 | merge_parser.set_defaults(func=main) |
| 25 | |
| 26 | |
| 27 | def main(args, repo): |
nothing calls this directly
no outgoing calls
no test coverage detected