~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

(mbp) prepare 1.4rc2 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
                if knit_kind == "file":
168
168
                    self._fetch_weave_text(file_id, revisions)
169
169
                elif knit_kind == "inventory":
170
 
                    # Before we process the inventory we generate the root
171
 
                    # texts (if necessary) so that the inventories references
172
 
                    # will be valid.
 
170
                    # XXX:
 
171
                    # Once we've processed all the files, then we generate the root
 
172
                    # texts (if necessary), then we process the inventory.  It's a
 
173
                    # bit distasteful to have knit_kind == "inventory" mean this,
 
174
                    # perhaps it should happen on the first non-"file" knit, in case
 
175
                    # it's not always inventory?
173
176
                    self._generate_root_texts(revs)
174
 
                    # NB: This currently reopens the inventory weave in source;
175
 
                    # using a full get_data_stream instead would avoid this.
176
177
                    self._fetch_inventory_weave(revs, pb)
177
178
                elif knit_kind == "signatures":
178
179
                    # Nothing to do here; this will be taken care of when