~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Andrew Bennetts
  • Date: 2007-07-02 06:47:06 UTC
  • mto: (2535.4.4 streaming-smart-fetch)
  • mto: This revision was merged to the branch mainline in revision 2906.
  • Revision ID: andrew.bennetts@canonical.com-20070702064706-3lga9dsrsg0tze8r
More comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        """Fetch all data for the given set of revisions."""
141
141
        if revs is None:
142
142
            return
 
143
        # The first phase is "file".  We pass the progress bar for it directly
 
144
        # into get_data_about_revision_ids, which has more information about how
 
145
        # that phase is progressing than we do.  Progress updates for the other
 
146
        # phases are taken care of in this function.
 
147
        # XXX: there should be a clear owner of the progress reporting.  Perhaps
 
148
        # get_data_about_revision_ids should have a richer API than it does at
 
149
        # the moment, so that it can feed the progress information back to this
 
150
        # function?
143
151
        phase = 'file'
144
152
        pb = bzrlib.ui.ui_factory.nested_progress_bar()
145
153
        try: