/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/propose/cmds.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-16 15:41:16 UTC
  • mto: This revision was merged to the branch mainline in revision 7344.
  • Revision ID: jelmer@jelmer.uk-20190616154116-jbyzmep5udvitma9
Set the submit branch after 'brz publish' / 'brz propose'

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
            overwrite=overwrite)
92
92
        local_branch.set_push_location(remote_branch.user_url)
93
93
        local_branch.set_public_branch(public_url)
 
94
        local_branch.set_submit_branch(submit_branch.user_url)
94
95
        note(gettext("Pushed to %s") % public_url)
95
96
 
96
97
 
178
179
        remote_branch, public_branch_url = hoster.publish_derived(
179
180
            branch, target, name=name, allow_lossy=not no_allow_lossy)
180
181
        branch.set_push_location(remote_branch.user_url)
 
182
        branch.set_submit_branch(target.user_url)
181
183
        note(gettext('Published branch to %s') % public_branch_url)
182
184
        if prerequisite is not None:
183
185
            prerequisite_branch = _mod_branch.Branch.open(prerequisite)