51
54
def __init__(self, to_repository, from_repository, last_revision=None,
53
56
"""Create a repo fetcher.
55
58
:param last_revision: If set, try to limit to the data this revision
57
60
:param find_ghosts: If True search the entire history for ghosts.
59
69
# repository.fetch has the responsibility for short-circuiting
60
70
# attempts to copy between a repository and itself.
61
71
self.to_repository = to_repository