~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset/commands.py

  • Committer: Aaron Bentley
  • Date: 2006-05-12 21:03:40 UTC
  • mto: (1185.82.108 w-changeset)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060512210340-233f3e6769b9ffed
Switch the fetcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    def run(self, base=None, revision=None):
80
80
        from bzrlib import user_encoding
81
81
        from bzrlib.changeset.serializer import write
82
 
        from bzrlib.fetch import fetch
83
82
 
84
83
        if base is None:
85
84
            base_branch = None
118
117
                base_revision = NULL_REVISION
119
118
 
120
119
        if base_branch is not None:
121
 
            fetch(target_branch, base_branch, base_revision)
 
120
            target_branch.repository.fetch(base_branch.repository, 
 
121
                                           revision_id=base_revision)
122
122
            del base_branch
123
123
        revision_id_list = get_intervening_revisions(base_revision,
124
124
                                                     target_revision,