~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-19 16:09:34 UTC
  • mfrom: (2520.4.135 bzr.mpbundle)
  • Revision ID: pqm@pqm.ubuntu.com-20070719160934-d51fyijw69oto88p
Add new bundle and merge-directive formats

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
        if to_repository.control_files._transport.base == from_repository.control_files._transport.base:
93
93
            # check that last_revision is in 'from' and then return a no-operation.
94
94
            if last_revision not in (None, NULL_REVISION):
95
 
                from_repository.get_revision(last_revision)
 
95
                to_repository.get_revision(last_revision)
96
96
            return
97
97
        self.to_repository = to_repository
98
98
        self.from_repository = from_repository