check that get_data_stream distinguishes annotated and unannotated knits

Bug #165106 reported by Martin Pool
4
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
High
Martin Pool

Bug Description

(mentioned by Robert)

Some knit files contain line annotation data, and some do not. This is not stored in the knit data but rather implied by the repository format and/or the identity of the knit.

We should make sure this is always taken into account when fetching a data stream from the smart server, to be sure it doesn't cause problems when pulling from knits to packs or vice versa.

(Follow-on from bug 164637)

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → High
milestone: none → 1.0rc1
status: New → Incomplete
Martin Pool (mbp)
Changed in bzr:
assignee: nobody → mbp
status: Incomplete → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

Robert says he checked the code, and you do in fact get an error pulling from knits to packs or vice versa. get_data_stream generate a format that says whether it's annotated or not.

It looks like the client needs to detect there's no suitable data stream, and either transcode into an appropriate stream, or use vfs operations.

Revision history for this message
Martin Pool (mbp) wrote :

not actually a problem

Changed in bzr:
status: Confirmed → Invalid
Revision history for this message
Martin Pool (mbp) wrote :

The actual change needed is bug 165304.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.