File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def main(args, repo):
7171
7272 _auto_track (commit_files , curr_b )
7373 ci = curr_b .create_commit (commit_files , msg , partials = partials )
74- pprint .ok ('Commit succeeded' )
74+ pprint .ok ('Commit on branch {0} succeeded' . format ( repo . current_branch ) )
7575
7676 pprint .blank ()
7777 pprint .commit (ci )
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ def parser(subparsers, _):
2222
2323def main (args , repo ):
2424 current_b = repo .current_branch
25- current_b .publish (helpers .get_branch_or_use_upstream (args .dst , 'dst' , repo ))
26- pprint .ok ('Publish succeeded' )
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 ))
2730 return True
You can’t perform that action at this time.
0 commit comments