135
135
self.target_repo, self.source_repo)
136
136
heads_to_fetch = set(self.explicit_rev_ids)
137
137
if self.source_branch is not None:
140
143
heads_to_fetch.add(self.source_branch.last_revision())
141
144
if self.target_repo_kind == _TargetRepoKinds.EMPTY:
142
145
return graph.PendingAncestryResult(heads_to_fetch, self.source_repo)