(upstream, repo)
| 179 | |
| 180 | |
| 181 | def _do_set_upstream(upstream, repo): |
| 182 | curr_b = repo.current_branch |
| 183 | curr_b.upstream = helpers.get_branch(upstream, repo) |
| 184 | pprint.ok('Current branch {0} set to track {1}'.format(curr_b, upstream)) |
| 185 | return True |
| 186 | |
| 187 | |
| 188 | def _do_unset_upstream(repo): |