~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Robert Collins
  • Date: 2005-10-11 02:51:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1438.
  • Revision ID: robertc@robertcollins.net-20051011025115-e62a9e17c28e7f34
do not download remote ancestry.weave if the target revision we are stopping at is in our local store

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
            raise InstallFailed([last_revision])
119
119
        mutter('fetch up to rev {%s}', self.last_revision)
120
120
        try:
 
121
            if self.last_revision is not None:
 
122
                self.to_branch.get_revision(self.last_revision)
 
123
                return
 
124
        except NoSuchRevision:
 
125
            pass
 
126
        try:
121
127
            revs_to_fetch = self._compare_ancestries()
122
128
        except WeaveError:
123
129
            raise InstallFailed([self.last_revision])