/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-16 17:31:28 UTC
  • mfrom: (7342.1.2 propose-sets-submit)
  • Revision ID: breezy.the.bot@gmail.com-20190616173128-yjzid096xunwofbs
Set the submit branch after 'brz publish' / 'brz propose'

Merged from https://code.launchpad.net/~jelmer/brz/propose-sets-submit/+merge/368883

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)