MCPcopy
hub / github.com/gitless-vcs/gitless / main

Function main

gitless/cli/gl_publish.py:23–30  ·  view source on GitHub ↗
(args, repo)

Source from the content-addressed store, hash-verified

21
22
23def main(args, repo):
24 current_b = repo.current_branch
25 dst_b = helpers.get_branch_or_use_upstream(args.dst, 'dst', repo)
26 current_b.publish(dst_b)
27 pprint.ok(
28 'Publish of commits from branch {0} to branch {1} succeeded'.format(
29 current_b, dst_b))
30 return True

Callers

nothing calls this directly

Calls 1

publishMethod · 0.80

Tested by

no test coverage detected