~wgrant/bzr-git/lp-fixes

« back to all changes in this revision

Viewing changes to transportgit.py

  • Committer: William Grant
  • Date: 2015-05-08 02:31:10 UTC
  • Revision ID: william.grant@canonical.com-20150508023110-lvllc50nvculinow
Fix TransportObjectStore with multiple packs, and add test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
483
483
                idxname = name.replace(".pack", ".idx")
484
484
                idx = load_pack_index_file(idxname, self.pack_transport.get(idxname))
485
485
                pack = Pack.from_objects(pd, idx)
 
486
                pack._basename = idxname[:-5]
486
487
                ret.append(pack)
487
488
        return ret
488
489