/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to transportgit.py

  • Committer: William Grant
  • Date: 2015-05-08 07:25:20 UTC
  • mto: (0.200.1630 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: william.grant@canonical.com-20150508072520-4h32i438j0t14n27
Update the other _add_known_pack callsite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
591
591
            write_pack_index_v2(idxfile, data.sorted_entries(), data_sum)
592
592
        finally:
593
593
            idxfile.close()
594
 
        final_pack = Pack("pack-%s" % pack_sha)
595
 
        self._add_known_pack(final_pack)
 
594
        basename = "pack-%s" % pack_sha
 
595
        final_pack = Pack(basename)
 
596
        self._add_known_pack(basename, final_pack)
596
597
        return final_pack
597
598
 
598
599
    def add_pack(self):