_KnitIndex.add_versions() doesn't dictionary compress new revisions
Bug #64789 reported by
John A Meinel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
The add_versions() command is used during fetch activities. At this moment, all newly added revisions are not dictionary compressed.
This is especially noticable when creating a new push. Doing:
$ cd bzr.dev
$ bzr push ../new-test-branch
And then inspecting all .kndx files will show that none of them contain integer references for parent entries.
In discussing with Robert, it seems that just updating the cache as we go along, with rollback on error would be sufficient.
Related branches
To post a comment you must log in.
Not too difficult to fix, has some performance implications, and just general cleanliness issues.
Targeting for 0.12