/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 cmds.py

publish -> publish_derived.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        if name is None:
74
74
            name = branch_name(local_branch)
75
75
        hoster = _mod_propose.get_hoster(submit_branch)
76
 
        remote_branch, public_url = hoster.publish(
 
76
        remote_branch, public_url = hoster.publish_derived(
77
77
                local_branch, submit_branch, name=name, project=project,
78
78
                owner=owner)
79
79
        local_branch.set_push_location(remote_branch.user_url)
123
123
            hoster = hoster.probe(target)
124
124
        if name is None:
125
125
            name = branch_name(branch)
126
 
        remote_branch, public_branch_url = hoster.publish(branch, target, name=name)
 
126
        remote_branch, public_branch_url = hoster.publish_derived(
 
127
                branch, target, name=name)
127
128
        note(gettext('Published branch to %s') % public_branch_url)
128
129
        proposal_builder = hoster.get_proposer(remote_branch, target)
129
130
        if description is None: