~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

[merge] speedups from robertc

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
            mutter('failed getting last revision: %s', e)
118
118
            raise InstallFailed([last_revision])
119
119
        mutter('fetch up to rev {%s}', self.last_revision)
 
120
        if (self.last_revision is not None and 
 
121
            self.to_branch.has_revision(self.last_revision)):
 
122
            return
120
123
        try:
121
124
            revs_to_fetch = self._compare_ancestries()
122
125
        except WeaveError: