~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-06 08:13:23 UTC
  • mto: (4086.1.2 hpss-integration)
  • mto: This revision was merged to the branch mainline in revision 4087.
  • Revision ID: andrew.bennetts@canonical.com-20090306081323-dunguef2eok4wyti
Tweaks requested by Robert's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1100
1100
            fetch_spec=None):
1101
1101
        """Fetch the content required to construct revision_id from source.
1102
1102
 
1103
 
        If revision_id is None all content is copied.
 
1103
        If revision_id is None and fetch_spec is None, then all content is
 
1104
        copied.
 
1105
 
1104
1106
        :param find_ghosts: Find and copy revisions in the source that are
1105
1107
            ghosts in the target (and not reachable directly by walking out to
1106
1108
            the first-present revision in target from revision_id).
 
1109
        :param revision_id: If specified, all the content needed for this
 
1110
            revision ID will be copied to the target.  Fetch will determine for
 
1111
            itself which content needs to be copied.
 
1112
        :param fetch_spec: If specified, a SearchResult or
 
1113
            PendingAncestryResult that describes which revisions to copy.  This
 
1114
            allows copying multiple heads at once.  Mutually exclusive with
 
1115
            revision_id.
1107
1116
        """
1108
1117
        if fetch_spec is not None and revision_id is not None:
1109
1118
            raise AssertionError(