Rev 3875: Merge the lazy_gc_stream, and resolve the minor conflict. in http://bzr.arbash-meinel.com/branches/bzr/brisbane/hack3

John Arbash Meinel john at arbash-meinel.com
Thu Mar 19 18:39:02 GMT 2009


At http://bzr.arbash-meinel.com/branches/bzr/brisbane/hack3

------------------------------------------------------------
revno: 3875
revision-id: john at arbash-meinel.com-20090319183849-b0kcdjhn0god2srn
parent: john at arbash-meinel.com-20090319183751-ao5y10cj51vwv4r8
parent: john at arbash-meinel.com-20090319030602-stjxub1g3yhq0u32
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: hack3
timestamp: Thu 2009-03-19 13:38:49 -0500
message:
  Merge the lazy_gc_stream, and resolve the minor conflict.
modified:
  bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
  bzrlib/repofmt/groupcompress_repo.py repofmt.py-20080715094215-wp1qfvoo7093c8qr-1
  bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
  bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
  bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
    ------------------------------------------------------------
    revno: 3869.6.27
    revision-id: john at arbash-meinel.com-20090319030602-stjxub1g3yhq0u32
    parent: john at arbash-meinel.com-20090317203354-77ub807e883l8qx1
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Wed 2009-03-18 22:06:02 -0500
    message:
      Have _LazyGroupContentManager pre-extract everything it holds.
      
      This doesn't seem to speed up decompression time, but it does prevent us from
      re-allocating the _content buffer for every bit we extract.
      Saves ~1s/30s on mysql-525 repack.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.26
    revision-id: john at arbash-meinel.com-20090317203354-77ub807e883l8qx1
    parent: john at arbash-meinel.com-20090317203305-bsz9fzhxgg2vd5pz
    parent: john at arbash-meinel.com-20090317201340-amjnj1wl78iwcxae
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 15:33:54 -0500
    message:
      Merge brisbane-core 3888 and thus bzr.dev 4157
    added:
      bzrlib/help_topics/en/debug-flags.txt debugflags.txt-20090312050229-rdspqbqq4fzbjtpe-1
      bzrlib/tests/per_repository/test_refresh_data.py test_refresh_data.py-20090316045630-5sw0ipqwk7rvpn3h-1
      doc/en/user-guide/shelving_changes.txt shelving_changes.txt-20090312060214-kfn9smg37syy9kcl-1
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzr                            bzr.py-20050313053754-5485f144c7006fa6
      bzrlib/__init__.py             __init__.py-20050309040759-33e65acf91bbcd5d
      bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
      bzrlib/bzrdir.py               bzrdir.py-20060131065624-156dfea39c4387cb
      bzrlib/check.py                check.py-20050309040759-f3a679400c06bcc1
      bzrlib/config.py               config.py-20051011043216-070c74f4e9e338e8
      bzrlib/debug.py                debug.py-20061102062349-vdhrw9qdpck8cl35-1
      bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
      bzrlib/graph.py                graph_walker.py-20070525030359-y852guab65d4wtn0-1
      bzrlib/help_topics/__init__.py help_topics.py-20060920210027-rnim90q9e0bwxvy4-1
      bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/lockable_files.py       control_files.py-20051111201905-bb88546e799d669f
      bzrlib/log.py                  log.py-20050505065812-c40ce11702fe5fb1
      bzrlib/plugins/netrc_credential_store/tests/test_netrc.py test_netrc.py-20081006090414-vm3or4tz6c9wk2oi-1
      bzrlib/progress.py             progress.py-20050610070202-df9faaab791964c0
      bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
      bzrlib/repofmt/groupcompress_repo.py repofmt.py-20080715094215-wp1qfvoo7093c8qr-1
      bzrlib/repofmt/knitrepo.py     knitrepo.py-20070206081537-pyy4a00xdas0j4pf-1
      bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/shelf.py                prepare_shelf.py-20081005181341-n74qe6gu1e65ad4v-1
      bzrlib/shelf_ui.py             shelver.py-20081005210102-33worgzwrtdw0yrm-1
      bzrlib/smart/medium.py         medium.py-20061103051856-rgu2huy59fkz902q-1
      bzrlib/smart/repository.py     repository.py-20061128022038-vr5wy5bubyb8xttk-1
      bzrlib/smart/request.py        request.py-20061108095550-gunadhxmzkdjfeek-1
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
      bzrlib/tests/blackbox/test_branch.py test_branch.py-20060524161337-noms9gmcwqqrfi8y-1
      bzrlib/tests/blackbox/test_ignore.py test_ignore.py-20060703063225-4tm8dc2pa7wwg2t3-1
      bzrlib/tests/blackbox/test_merge.py test_merge.py-20060323225809-9bc0459c19917f41
      bzrlib/tests/blackbox/test_push.py test_push.py-20060329002750-929af230d5d22663
      bzrlib/tests/blackbox/test_shared_repository.py test_shared_repository.py-20060317053531-ed30c0d79325e483
      bzrlib/tests/branch_implementations/test_push.py test_push.py-20070130153159-fhfap8uoifevg30j-1
      bzrlib/tests/branch_implementations/test_stacking.py test_stacking.py-20080214020755-msjlkb7urobwly0f-1
      bzrlib/tests/bzrdir_implementations/test_bzrdir.py test_bzrdir.py-20060131065642-0ebeca5e30e30866
      bzrlib/tests/interrepository_implementations/test_fetch.py test_fetch.py-20080425213627-j60cjh782ufm83ry-1
      bzrlib/tests/interrepository_implementations/test_interrepository.py test_interrepository.py-20060220061411-1ec13fa99e5e3eee
      bzrlib/tests/per_repository/__init__.py __init__.py-20060131092037-9564957a7d4a841b
      bzrlib/tests/per_repository/test_fetch.py test_fetch.py-20070814052151-5cxha9slx4c93uog-1
      bzrlib/tests/per_repository/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
      bzrlib/tests/per_repository_reference/__init__.py __init__.py-20080220025549-nnm2s80it1lvcwnc-2
      bzrlib/tests/test_branch.py    test_branch.py-20060116013032-97819aa07b8ab3b5
      bzrlib/tests/test_commands.py  test_command.py-20051019190109-3b17be0f52eaa7a8
      bzrlib/tests/test_config.py    testconfig.py-20051011041908-742d0c15d8d8c8eb
      bzrlib/tests/test_generate_docs.py test_generate_docs.p-20070102123151-cqctnsrlqwmiljd7-1
      bzrlib/tests/test_graph.py     test_graph_walker.py-20070525030405-enq4r60hhi9xrujc-1
      bzrlib/tests/test_http_response.py test_http_response.py-20060628233143-950b2a482a32505d
      bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
      bzrlib/tests/test_osutils.py   test_osutils.py-20051201224856-e48ee24c12182989
      bzrlib/tests/test_osutils_encodings.py test_osutils_encodin-20061226013130-kkp732tpt3lm91vv-1
      bzrlib/tests/test_pack.py      test_container.py-20070607160755-tr8zc26q18rn0jnb-2
      bzrlib/tests/test_progress.py  test_progress.py-20060308160359-978c397bc79b7fda
      bzrlib/tests/test_remote.py    test_remote.py-20060720103555-yeeg2x51vn0rbtdp-2
      bzrlib/tests/test_repository.py test_repository.py-20060131075918-65c555b881612f4d
      bzrlib/tests/test_selftest.py  test_selftest.py-20051202044319-c110a115d8c0456a
      bzrlib/tests/test_shelf.py     test_prepare_shelf.p-20081005181341-n74qe6gu1e65ad4v-2
      bzrlib/tests/test_shelf_ui.py  test_shelf_ui.py-20081027155203-wtcuazg85wp9u4fv-1
      bzrlib/tests/test_smart.py     test_smart.py-20061122024551-ol0l0o0oofsu9b3t-2
      bzrlib/tests/test_smart_request.py test_smart_request.p-20090211070731-o38wayv3asm25d6a-1
      bzrlib/tests/test_smart_transport.py test_ssh_transport.py-20060608202016-c25gvf1ob7ypbus6-2
      bzrlib/tests/test_symbol_versioning.py test_symbol_versioning.py-20060105104851-51d7722c2018d42b
      bzrlib/tests/test_ui.py        test_ui.py-20051130162854-458e667a7414af09
      bzrlib/tests/test_xml.py       test_xml.py-20050905091053-80b45588931a9b35
      bzrlib/ui/text.py              text.py-20051130153916-2e438cffc8afc478
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
      doc/developers/HACKING.txt     HACKING-20050805200004-2a5dc975d870f78c
      doc/developers/releasing.txt   releasing.txt-20080502015919-fnrcav8fwy8ccibu-1
      doc/en/user-guide/bzrtools_plugin.txt bzrtools_plugin.txt-20080509065016-cjc90f46407vi9a0-1
      doc/en/user-guide/index.txt    index.txt-20060622101119-tgwtdci8z769bjb9-2
    ------------------------------------------------------------
    revno: 3869.6.25
    revision-id: john at arbash-meinel.com-20090317203305-bsz9fzhxgg2vd5pz
    parent: john at arbash-meinel.com-20090317193814-ytzlgl0mbd8qtvp4
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 15:33:05 -0500
    message:
      Add a comment about a bit of code that could be optimized better.
    modified:
      bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
    ------------------------------------------------------------
    revno: 3869.6.24
    revision-id: john at arbash-meinel.com-20090317193814-ytzlgl0mbd8qtvp4
    parent: john at arbash-meinel.com-20090317192705-8r4ny7purwsx3m0l
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 14:38:14 -0500
    message:
      _wire_bytes() now strips groups as necessary, as does _insert_record_stream
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.23
    revision-id: john at arbash-meinel.com-20090317192705-8r4ny7purwsx3m0l
    parent: john at arbash-meinel.com-20090317183751-uzqw7v9jdlvntbrj
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 14:27:05 -0500
    message:
      Add a _LazyGroupContentManager._check_rebuild_block
      This can be called to ensure the content we are generated has been appropriately
      shrunk before we put it on-the-wire, etc.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.22
    revision-id: john at arbash-meinel.com-20090317183751-uzqw7v9jdlvntbrj
    parent: john at arbash-meinel.com-20090317182906-s7ynapnrcxj9i99s
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 13:37:51 -0500
    message:
      Change the code so that the GCPacker knows to set reuse_blocks=False.
    modified:
      bzrlib/repofmt/groupcompress_repo.py repofmt.py-20080715094215-wp1qfvoo7093c8qr-1
    ------------------------------------------------------------
    revno: 3869.6.21
    revision-id: john at arbash-meinel.com-20090317182906-s7ynapnrcxj9i99s
    parent: john at arbash-meinel.com-20090317174617-osa5ia09no26xm1w
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 13:29:06 -0500
    message:
      We now have a 'reuse_blocks=False' flag for autopack et al.
      We need to be careful that insert_record_stream() is a simple function,
      but _insert_record_stream() is a generator.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.20
    revision-id: john at arbash-meinel.com-20090317174617-osa5ia09no26xm1w
    parent: john at arbash-meinel.com-20090317161231-nzb4dk8t35ucw84u
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 12:46:17 -0500
    message:
      groupcompress now copies the blocks exactly as they were given.
      
      One major concern here is that 'topo_sort' is not particularly stable. For example,
      given a history of a=>b=>c=>d and e=>f=>g=>h, it easily groups the contents as,
      h,a,b,c,d,e,f,g. Which is interleaving unrelated histories.
      This will actually cause transmission of the e-h group 2x, and cause effective
      'bloat'.
      We can still tell 'get_record_stream' to remove some of this.
      Also, autopack still needs to be told to *not* re-use blocks.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.19
    revision-id: john at arbash-meinel.com-20090317161231-nzb4dk8t35ucw84u
    parent: john at arbash-meinel.com-20090317051139-6za5bo6i7atmpvqr
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 11:12:31 -0500
    message:
      Get rid of the 'delta' flag to GroupCompressor. It didn't do anything anyway.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.18
    revision-id: john at arbash-meinel.com-20090317051139-6za5bo6i7atmpvqr
    parent: john at arbash-meinel.com-20090317050040-q5np851qcvbwma52
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 00:11:39 -0500
    message:
      We now support generating a network stream.
      
      It can then be read back in on the other end. Though we don't support
      *inserting* the byte-stream directly yet.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
    ------------------------------------------------------------
    revno: 3869.6.17
    revision-id: john at arbash-meinel.com-20090317050040-q5np851qcvbwma52
    parent: john at arbash-meinel.com-20090317042342-3rk1sf50dlx7qxli
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Tue 2009-03-17 00:00:40 -0500
    message:
      We now round-trip the wire_bytes.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.16
    revision-id: john at arbash-meinel.com-20090317042342-3rk1sf50dlx7qxli
    parent: john at arbash-meinel.com-20090317034324-1nqpftq6na4rz8ft
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 23:23:42 -0500
    message:
      We now have a general header for the GC block.
      
      It is pretty much just the trade between the GC Label structure and the
      formatting used by knit-delta-closure. Probably the main difference is
      compressing the bytes, but I found that to be pretty important
      for the GC Label, and it isn't hard to do.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.15
    revision-id: john at arbash-meinel.com-20090317034324-1nqpftq6na4rz8ft
    parent: john at arbash-meinel.com-20090316215641-w335132qzahl6m27
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 22:43:24 -0500
    message:
      Change the GroupCompressBlock code to allow not recording 'end'.
      
      As long as we know what gc block we need to read, we don't care about how long
      a record is. As it is already recorded in the data stream.
      We already have read the whole compressed block into memory, so we aren't saving
      a round trip. Though if we want trivial stripping of unused content,
      we may want to keep the extra data in the index.
      It still is good to have the functionality available to the extract() function.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.14
    revision-id: john at arbash-meinel.com-20090316215641-w335132qzahl6m27
    parent: john at arbash-meinel.com-20090316211744-kbkzmyh2vu6c6hic
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 16:56:41 -0500
    message:
      Move the tests over to testing the LazyGroupContentManager object.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.13
    revision-id: john at arbash-meinel.com-20090316211744-kbkzmyh2vu6c6hic
    parent: john at arbash-meinel.com-20090316211519-3r3zx1fgg167gl3z
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 16:17:44 -0500
    message:
      Allow the sha1 to be None for a factory.
    modified:
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
    ------------------------------------------------------------
    revno: 3869.6.12
    revision-id: john at arbash-meinel.com-20090316211519-3r3zx1fgg167gl3z
    parent: john at arbash-meinel.com-20090316192106-iz7ccmx58s0ff3aa
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 16:15:19 -0500
    message:
      Add groupcompress-block[-ref] as valid stream types.
      
      However, we now encounter that the versionedfile tests assume that Factory
      objects know the content's sha1 sum if we request them with delta_closure=False.
      I assume this is because we had been reading the knit content headers to
      get the sha1sum, but I think Andrew was planning on changing that anyway.
      The VF tests expose the lack of sha1, but otherwise things seem to
      work if we pass back the lazy block, rather than extracting it
      ahead of time.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
    ------------------------------------------------------------
    revno: 3869.6.11
    revision-id: john at arbash-meinel.com-20090316192106-iz7ccmx58s0ff3aa
    parent: john at arbash-meinel.com-20090316190421-y6ehbji5x0jaxubc
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 14:21:06 -0500
    message:
      Add tests for the ability to do partial decompression without knowing the final length.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.10
    revision-id: john at arbash-meinel.com-20090316190421-y6ehbji5x0jaxubc
    parent: john at arbash-meinel.com-20090316184823-naj2s0hc1iyl2vxb
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 14:04:21 -0500
    message:
      test that we support reading from the gc blocks that didn't have their lengths.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.9
    revision-id: john at arbash-meinel.com-20090316184823-naj2s0hc1iyl2vxb
    parent: john at arbash-meinel.com-20090314191120-ydr5fsg3dc0ry35a
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Mon 2009-03-16 13:48:23 -0500
    message:
      Use a 32kB extension, since that is the max window size for zlib.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
    ------------------------------------------------------------
    revno: 3869.6.8
    revision-id: john at arbash-meinel.com-20090314191120-ydr5fsg3dc0ry35a
    parent: john at arbash-meinel.com-20090314182631-54snfqil79ckzz42
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Sat 2009-03-14 14:11:20 -0500
    message:
      Some tests for the LazyGroupCompressFactory
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.7
    revision-id: john at arbash-meinel.com-20090314182631-54snfqil79ckzz42
    parent: john at arbash-meinel.com-20090314160543-04i9wg8s13bjh337
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Sat 2009-03-14 13:26:31 -0500
    message:
      Implement partial decompression support.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.6
    revision-id: john at arbash-meinel.com-20090314160543-04i9wg8s13bjh337
    parent: john at arbash-meinel.com-20090314160116-jl91rchozkpvli4c
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Sat 2009-03-14 11:05:43 -0500
    message:
      A bit of reworking changes things so content is expanded at extract() time.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.5
    revision-id: john at arbash-meinel.com-20090314160116-jl91rchozkpvli4c
    parent: john at arbash-meinel.com-20090314154309-4l8c12173z21vmfz
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Sat 2009-03-14 11:01:16 -0500
    message:
      Change the parsing code to start out just holding the compressed bytes.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.4
    revision-id: john at arbash-meinel.com-20090314154309-4l8c12173z21vmfz
    parent: john at arbash-meinel.com-20090314002515-02agjy1fu7idjhrv
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Sat 2009-03-14 10:43:09 -0500
    message:
      Change the byte representation of a groupcompress block.
      We now include the length of the compressed and uncompressed content.
      The important bit is the length of uncompressed content, as it allows
      to potentially pre-allocate the decomp buffer. But more important than
      that, is that it allows us to know how much of the content we will
      be processing during 'extract', just from the index entries and that
      header block.
    modified:
      bzrlib/groupcompress.py        groupcompress.py-20080705181503-ccbxd6xuy1bdnrpu-8
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
    ------------------------------------------------------------
    revno: 3869.6.3
    revision-id: john at arbash-meinel.com-20090314002515-02agjy1fu7idjhrv
    parent: john at arbash-meinel.com-20090313234110-24lua3erg22kxaqx
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: lazy_gc_stream
    timestamp: Fri 2009-03-13 19:25:15 -0500
    message:
      Start doing some direct GCVF tests.
    modified:
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
      bzrlib/tests/test_groupcompress.py test_groupcompress.p-20080705181503-ccbxd6xuy1bdnrpu-13
-------------- next part --------------

Diff too large for email (1598 lines, the limit is 1000).


More information about the bazaar-commits mailing list