(args, repo)
| 21 | |
| 22 | |
| 23 | def 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 |