~mbp/bzr/208418-knit-parsing

Viewing all changes in revision 3291.

  • Committer: Martin Pool
  • Date: 2008-04-04 04:33:44 UTC
  • Revision ID: mbp@sourcefrog.net-20080404043344-ewtd0ck2mm0l7sx9
#2008418: (with spiv) Avoid interpreting fulltexts as line deltas when pulling knits.

The knit._StreamAccess class is used for some cases of pulling from a knit to pack
repository; it is used to build a Knit that reads both from a network stream 
and a local repository.  We were in some cases giving back a full text
from the local repository but incorrectly marking it as a delta.

Also, mark the flag that controls this more clearly as from_backing_knit.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: