/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

Rename BzrCommandError to CommandError.

Merged from https://code.launchpad.net/~jelmer/brz/command-error/+merge/386136

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