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)
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)