20
21
def __init__(self, revision_id, testament_sha1, time, timezone,
21
22
target_branch, patch=None, patch_type=None,
22
23
source_branch=None, message=None):
24
24
assert patch_type in (None, 'diff', 'bundle')
25
25
if patch_type != 'bundle' and source_branch is None:
26
26
raise errors.NoMergeSource()