/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-21 02:15:25 UTC
  • mto: (7490.40.23 work)
  • mto: This revision was merged to the branch mainline in revision 7517.
  • Revision ID: jelmer@jelmer.uk-20200621021525-en904vhtu6t0qcv3
Rename BzrCommandError to CommandError.

Show diffs side-by-side

added added

removed removed

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