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