~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Robert Collins
  • Date: 2005-10-09 22:43:56 UTC
  • mfrom: (1185.12.18)
  • Revision ID: robertc@robertcollins.net-20051009224356-9e0f3edb29f2498f
merge from Aaron - unbreaks open_containing and the fetch progress bar

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        else:
105
105
            self.pb = pb
106
106
        try:
 
107
            self._fetch_revisions(last_revision)
 
108
        finally:
 
109
            self.pb.clear()
 
110
 
 
111
    def _fetch_revisions(self, last_revision):
 
112
        try:
107
113
            self.last_revision = self._find_last_revision(last_revision)
108
114
        except NoSuchRevision, e:
109
115
            mutter('failed getting last revision: %s', e)
116
122
        self._copy_revisions(revs_to_fetch)
117
123
        self.new_ancestry = revs_to_fetch
118
124
 
119
 
 
120
125
    def _find_last_revision(self, last_revision):
121
126
        """Find the limiting source revision.
122
127