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