MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / parser

Function parser

gitless/cli/gl_merge.py:15–24  ·  view source on GitHub ↗
(subparsers, repo)

Source from the content-addressed store, hash-verified

13
14
15def 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
27def main(args, repo):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected