610
610
result = self._format._initialize_for_clone(url)
611
611
basis_repo, basis_branch, basis_tree = self._get_basis_components(basis)
612
612
self.open_repository().clone(result, revision_id=revision_id, basis=basis_repo)
615
616
self.open_workingtree().clone(result, basis=basis_tree)
616
617
except errors.NotLocalUrl: