[MERGE] knit._PackAccess

Robert Collins robertc at robertcollins.net
Fri Aug 3 00:46:41 BST 2007


This is the final 'core' change needed to allow a pack based repository
to be built on top of the rest of bzrlib without reinventing delta
composition etc etc.

* In ``bzrlib.knit`` the internal interface has been altered to use
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
  describe where data in a knit is, allowing knits to be split into
  many files. (Robert Collins)

* ``bzrlib.knit._KnitData`` split into cache management and physical
  access with two access classes - ``_PackAccess`` and ``_KnitAccess``
  defined. The former provides access into a .pack file, and the latter
  provides the current production repository form of .knit files.
  (Robert Collins)

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knit-access.patch
Type: text/x-patch
Size: 119193 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070803/62130620/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070803/62130620/attachment-0001.pgp 


More information about the bazaar mailing list