311
311
def write_directive(self, filename, source, target, revision_id,
312
312
base_revision_id=None, mangle_patch=False):
313
313
md = merge_directive.MergeDirective2.from_objects(
314
source.repository, revision_id, 0, 0, target)
314
source.repository, revision_id, 0, 0, target,
319
318
self.build_tree_contents([(filename, ''.join(md.to_lines()))])