~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.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:
223
223
                require_stacking = True
224
224
                result._format.require_stacking()
225
225
            if is_new_repo:
226
 
                fetch_spec = graph.MiniSearchResult(revision_id, local_repo)
 
226
                fetch_spec = graph.PendingAncestryResult(
 
227
                    [revision_id], local_repo)
227
228
                result_repo.fetch(local_repo, fetch_spec=fetch_spec)
228
229
            else:
229
230
                result_repo.fetch(local_repo, revision_id=revision_id)
1120
1121
            force_new_repo, stacked_branch_url, require_stacking=stacked)
1121
1122
        result_repo, is_new_repo = repository_policy.acquire_repository()
1122
1123
        if is_new_repo and revision_id is not None:
1123
 
            fetch_spec = graph.MiniSearchResult(revision_id, source_repository)
 
1124
            fetch_spec = graph.PendingAncestryResult(
 
1125
                [revision_id], source_repository)
1124
1126
        else:
1125
1127
            fetch_spec = None
1126
1128
        if source_repository is not None: