/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/git/send.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-23 01:02:30 UTC
  • mfrom: (7490.40.27 work)
  • mto: This revision was merged to the branch mainline in revision 7517.
  • Revision ID: jelmer@jelmer.uk-20200623010230-62nnywznmb76h6ut
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
def send_git(branch, revision_id, submit_branch, public_branch, no_patch,
174
174
             no_bundle, message, base_revision_id, local_target_branch=None):
175
175
    if no_patch:
176
 
        raise errors.BzrCommandError(
 
176
        raise errors.CommandError(
177
177
            "no patch not supported for git-am style patches")
178
178
    if no_bundle:
179
 
        raise errors.BzrCommandError(
 
179
        raise errors.CommandError(
180
180
            "no bundle not supported for git-am style patches")
181
181
    return GitMergeDirective.from_objects(
182
182
        branch.repository, revision_id, time.time(),