781
781
result.create_repository()
782
782
elif source_repository is not None and result_repo is None:
783
783
# have source, and want to make a new target repo
789
786
# fetch needed content into target.
790
787
if source_repository is not None:
791
788
result_repo.fetch(source_repository, revision_id=revision_id)