Rev 3812: Merge the work submitted to bzr.dev for the xml cache. in http://bzr.arbash-meinel.com/branches/bzr/brisbane/xml_cache

John Arbash Meinel john at arbash-meinel.com
Wed Dec 10 23:12:03 GMT 2008


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

------------------------------------------------------------
revno: 3812
revision-id: john at arbash-meinel.com-20081210231131-1kib0b2lzj993iy5
parent: john at arbash-meinel.com-20081209231116-ytwhhggnwq83pkhl
parent: john at arbash-meinel.com-20081210230600-d84wjysaeu1caoea
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: xml_cache
timestamp: Wed 2008-12-10 17:11:31 -0600
message:
  Merge the work submitted to bzr.dev for the xml cache.
added:
  bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
  bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
  bzrlib/lru_cache.py            lru_cache.py-20070119165515-tlw203kuwh0id5gv-1
  bzrlib/registry.py             lazy_factory.py-20060809213415-2gfvqadtvdn0phtg-1
  bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
  bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
  bzrlib/tests/blackbox/test_revision_info.py test_revision_info.py-20050917162600-21dab3877aa348d7
  bzrlib/tests/per_repository/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/xml5.py                 xml5.py-20080328030717-t9guwinq8hom0ar3-1
  bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
  doc/developers/HACKING.txt     HACKING-20050805200004-2a5dc975d870f78c
    ------------------------------------------------------------
    revno: 3735.28.121
    revision-id: john at arbash-meinel.com-20081210230600-d84wjysaeu1caoea
    parent: john at arbash-meinel.com-20081210230521-t1t4d6yfh8kt6ft8
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 17:06:00 -0600
    message:
      Release inventory xml strings that we've already processed.
      
      This doesn't decrease our peak memory consumption, but at least it decreases it
      a little bit over time.
    modified:
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
    ------------------------------------------------------------
    revno: 3735.28.120
    revision-id: john at arbash-meinel.com-20081210230521-t1t4d6yfh8kt6ft8
    parent: john at arbash-meinel.com-20081210223943-aqedq91tf7e6tecs
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 17:05:21 -0600
    message:
      We don't need to inline get_cached until we've had the miss.
    modified:
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.119
    revision-id: john at arbash-meinel.com-20081210223943-aqedq91tf7e6tecs
    parent: john at arbash-meinel.com-20081210222704-465gxu7k0wehug6o
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 16:39:43 -0600
    message:
      Use resize logic to ensure our inventory entry cache is at an optimal size.
      
      We don't want to cache all entries across all inventories, but we are okay caching a
      bit more than would fit in one total inventory.
    modified:
      bzrlib/xml5.py                 xml5.py-20080328030717-t9guwinq8hom0ar3-1
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.118
    revision-id: john at arbash-meinel.com-20081210222704-465gxu7k0wehug6o
    parent: john at arbash-meinel.com-20081210222654-7sem2ud7397cd8vg
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 16:27:04 -0600
    message:
      comment update
    modified:
      bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.117
    revision-id: john at arbash-meinel.com-20081210222654-7sem2ud7397cd8vg
    parent: john at arbash-meinel.com-20081210213712-82i1n0uem1crrnoh
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 16:26:54 -0600
    message:
      Add resize() functionality to the FIFO Cache.
    modified:
      bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
    ------------------------------------------------------------
    revno: 3735.28.116
    revision-id: john at arbash-meinel.com-20081210213712-82i1n0uem1crrnoh
    parent: john at arbash-meinel.com-20081210185059-hfucbbmumvmes1ql
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 15:37:12 -0600
    message:
      Add some more direct timings using time.clock() instead of lsprof.
    modified:
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.115
    revision-id: john at arbash-meinel.com-20081210185059-hfucbbmumvmes1ql
    parent: john at arbash-meinel.com-20081210182935-dejc81qksqka717d
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 12:50:59 -0600
    message:
      Add detailed timings on the last 100 mysql revisions.
      
      Revert to the 'safe' copy-everything code.
    modified:
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.114
    revision-id: john at arbash-meinel.com-20081210182935-dejc81qksqka717d
    parent: john at arbash-meinel.com-20081210174726-7e0jy7j5kmq20alx
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 12:29:35 -0600
    message:
      Do Inventory.add() optimizations, and determine 'best' results.
    modified:
      bzrlib/xml5.py                 xml5.py-20080328030717-t9guwinq8hom0ar3-1
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.113
    revision-id: john at arbash-meinel.com-20081210174726-7e0jy7j5kmq20alx
    parent: john at arbash-meinel.com-20081210173820-sjxjc8ktpuhnl1g4
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 11:47:26 -0600
    message:
      Add some actual timings, supporting why we use a FIFOCache.
    modified:
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.112
    revision-id: john at arbash-meinel.com-20081210173820-sjxjc8ktpuhnl1g4
    parent: john at arbash-meinel.com-20081210172213-h2b0auuil3qaz28u
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 11:38:20 -0600
    message:
      Use a FIFOCache instead of an LRUCache, and factor out elt.get
    modified:
      bzrlib/xml8.py                 xml5.py-20050907032657-aac8f960815b66b1
    ------------------------------------------------------------
    revno: 3735.28.111
    revision-id: john at arbash-meinel.com-20081210172213-h2b0auuil3qaz28u
    parent: john at arbash-meinel.com-20081208183041-9r88rfoms0y8cr5b
    parent: pqm at pqm.ubuntu.com-20081210082822-li6ku9s3k63kjrpr
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: xml_cache
    timestamp: Wed 2008-12-10 11:22:13 -0600
    message:
      Merge bzr.dev 3890, bring in the FIFOCache.
    added:
      bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
      bzrlib/tests/per_repository/test_add_inventory_by_delta.py test_add_inventory_d-20081013002626-rut81igtlqb4590z-1
      bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/__init__.py             __init__.py-20050309040759-33e65acf91bbcd5d
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
      bzrlib/commit.py               commit.py-20050511101309-79ec1a0168e0e825
      bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
      bzrlib/lru_cache.py            lru_cache.py-20070119165515-tlw203kuwh0id5gv-1
      bzrlib/registry.py             lazy_factory.py-20060809213415-2gfvqadtvdn0phtg-1
      bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
      bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
      bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
      bzrlib/tests/blackbox/test_revision_info.py test_revision_info.py-20050917162600-21dab3877aa348d7
      bzrlib/tests/interrepository_implementations/__init__.py __init__.py-20060220054744-baf49a1f88f17b1a
      bzrlib/tests/per_repository/__init__.py __init__.py-20060131092037-9564957a7d4a841b
      bzrlib/tests/per_repository/test_commit_builder.py test_commit_builder.py-20060606110838-76e3ra5slucqus81-1
      bzrlib/tests/per_repository/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
      bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
      doc/developers/HACKING.txt     HACKING-20050805200004-2a5dc975d870f78c
    ------------------------------------------------------------
    revno: 3735.139.8
    revision-id: pqm at pqm.ubuntu.com-20081210082822-li6ku9s3k63kjrpr
    parent: pqm at pqm.ubuntu.com-20081210051250-2czm9b99a7e7y0xi
    parent: ian.clatworthy at canonical.com-20081210064720-33gd8jy3l6p45xgc
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Wed 2008-12-10 08:28:22 +0000
    message:
      support -d in revision-info (Michael Hudson)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
      bzrlib/tests/blackbox/test_revision_info.py test_revision_info.py-20050917162600-21dab3877aa348d7
        ------------------------------------------------------------
        revno: 3735.145.1
        revision-id: ian.clatworthy at canonical.com-20081210064720-33gd8jy3l6p45xgc
        parent: pqm at pqm.ubuntu.com-20081210051250-2czm9b99a7e7y0xi
        parent: michael.hudson at canonical.com-20081210020530-7lrsz78ln4d08m8l
        committer: Ian Clatworthy <ian.clatworthy at canonical.com>
        branch nick: ianc-integration
        timestamp: Wed 2008-12-10 16:47:20 +1000
        message:
          support -d in revision-info (Michael Hudson)
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/tests/blackbox/test_revision_info.py test_revision_info.py-20050917162600-21dab3877aa348d7
        ------------------------------------------------------------
        revno: 3735.144.1
        revision-id: michael.hudson at canonical.com-20081210020530-7lrsz78ln4d08m8l
        parent: pqm at pqm.ubuntu.com-20081209205258-uop2lclksyc9whj8
        committer: Michael Hudson <michael.hudson at canonical.com>
        branch nick: revision-info-takes--d
        timestamp: Wed 2008-12-10 15:05:30 +1300
        message:
          support -d in the revision-info command
        modified:
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/tests/blackbox/test_revision_info.py test_revision_info.py-20050917162600-21dab3877aa348d7
    ------------------------------------------------------------
    revno: 3735.139.7
    revision-id: pqm at pqm.ubuntu.com-20081210051250-2czm9b99a7e7y0xi
    parent: pqm at pqm.ubuntu.com-20081210011933-axdrxiq306imj2ty
    parent: john at arbash-meinel.com-20081210043421-2uaz4mfuzw3ca5jz
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Wed 2008-12-10 05:12:50 +0000
    message:
      (robertc, jam) Add Repository.add_inventory_by_delta,
      	and use it in the InterDifferingSerializer code.
    added:
      bzrlib/tests/per_repository/test_add_inventory_by_delta.py test_add_inventory_d-20081013002626-rut81igtlqb4590z-1
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/__init__.py             __init__.py-20050309040759-33e65acf91bbcd5d
      bzrlib/commit.py               commit.py-20050511101309-79ec1a0168e0e825
      bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
      bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/tests/interrepository_implementations/__init__.py __init__.py-20060220054744-baf49a1f88f17b1a
      bzrlib/tests/per_repository/__init__.py __init__.py-20060131092037-9564957a7d4a841b
      bzrlib/tests/per_repository/test_commit_builder.py test_commit_builder.py-20060606110838-76e3ra5slucqus81-1
      bzrlib/tests/per_repository/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
        ------------------------------------------------------------
        revno: 3735.135.13
        revision-id: john at arbash-meinel.com-20081210043421-2uaz4mfuzw3ca5jz
        parent: john at arbash-meinel.com-20081210032133-2mxcpa2p81kbpi5c
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: differ_serializer
        timestamp: Tue 2008-12-09 22:34:21 -0600
        message:
          There was a test that asserted we called pb.update() with the last revision.
        modified:
          bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
        ------------------------------------------------------------
        revno: 3735.135.12
        revision-id: john at arbash-meinel.com-20081210032133-2mxcpa2p81kbpi5c
        parent: john at arbash-meinel.com-20081210001000-xsgsn2kt5ce6dfl2
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: differ_serializer
        timestamp: Tue 2008-12-09 21:21:33 -0600
        message:
          Missed an add_inventory_delta => add_inventory_by_delta.
        modified:
          bzrlib/tests/per_repository/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
        ------------------------------------------------------------
        revno: 3735.135.11
        revision-id: john at arbash-meinel.com-20081210001000-xsgsn2kt5ce6dfl2
        parent: john at arbash-meinel.com-20081207173303-ydamo2rxs3ngjhw0
        parent: pqm at pqm.ubuntu.com-20081209163533-fj6hx9l65sretbai
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: differ_serializer
        timestamp: Tue 2008-12-09 18:10:00 -0600
        message:
          Merge bzr.dev, resolve NEWS
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/bzrdir.py               bzrdir.py-20060131065624-156dfea39c4387cb
          bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
          bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
          bzrlib/registry.py             lazy_factory.py-20060809213415-2gfvqadtvdn0phtg-1
          bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
          bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
          bzrlib/tests/bzrdir_implementations/test_bzrdir.py test_bzrdir.py-20060131065642-0ebeca5e30e30866
          bzrlib/tests/per_repository/test_add_fallback_repository.py test_add_fallback_re-20080215040003-8w9n4ck9uqdxj18m-1
          bzrlib/tests/test_fetch.py     testfetch.py-20050825090644-f73e07e7dfb1765a
          bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
          bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
          bzrlib/upgrade.py              history2weaves.py-20050818063535-e7d319791c19a8b2
          bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
    ------------------------------------------------------------
    revno: 3735.139.6
    revision-id: pqm at pqm.ubuntu.com-20081210011933-axdrxiq306imj2ty
    parent: pqm at pqm.ubuntu.com-20081210004116-qqips4wfg800p4ku
    parent: john at arbash-meinel.com-20081210000733-5h1j6enwe37ymnuj
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Wed 2008-12-10 01:19:33 +0000
    message:
      (jam) Add a FIFOCache class, to allow max-size with less overhead,
      	though lower hit rate.
    added:
      bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
      bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
    modified:
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
        ------------------------------------------------------------
        revno: 3735.143.8
        revision-id: john at arbash-meinel.com-20081210000733-5h1j6enwe37ymnuj
        parent: john at arbash-meinel.com-20081209222640-u3iece2ixcd0q7lj
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 18:07:33 -0600
        message:
          Handle that Python2.4 doesn't have collections.deque.remove
        modified:
          bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
        ------------------------------------------------------------
        revno: 3735.143.7
        revision-id: john at arbash-meinel.com-20081209222640-u3iece2ixcd0q7lj
        parent: john at arbash-meinel.com-20081209220341-9d70gll0szipelao
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 16:26:40 -0600
        message:
          Add a FIFOSizeCache which is constrained based on the size of the values.
        modified:
          bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        ------------------------------------------------------------
        revno: 3735.143.6
        revision-id: john at arbash-meinel.com-20081209220341-9d70gll0szipelao
        parent: john at arbash-meinel.com-20081209220003-05o6ymacid6io8mn
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 16:03:41 -0600
        message:
          Test that del x[foo] also triggers a cleanup.
        modified:
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        ------------------------------------------------------------
        revno: 3735.143.5
        revision-id: john at arbash-meinel.com-20081209220003-05o6ymacid6io8mn
        parent: john at arbash-meinel.com-20081209215736-6rvlqtzobqbwqn2m
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 16:00:03 -0600
        message:
          Add tests that *adding* an entry also triggers the cleanup code.
        modified:
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        ------------------------------------------------------------
        revno: 3735.143.4
        revision-id: john at arbash-meinel.com-20081209215736-6rvlqtzobqbwqn2m
        parent: john at arbash-meinel.com-20081209215038-uevgqhtrnlgnkecj
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 15:57:36 -0600
        message:
          Implement setdefault.
        modified:
          bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        ------------------------------------------------------------
        revno: 3735.143.3
        revision-id: john at arbash-meinel.com-20081209215038-uevgqhtrnlgnkecj
        parent: john at arbash-meinel.com-20081209213917-c5ko2gvw831txpt8
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 15:50:38 -0600
        message:
          Implement update
        modified:
          bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        ------------------------------------------------------------
        revno: 3735.143.2
        revision-id: john at arbash-meinel.com-20081209213917-c5ko2gvw831txpt8
        parent: john at arbash-meinel.com-20081209213549-yc1mqv3l5gun9c63
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 15:39:17 -0600
        message:
          Add a test which fails because we don't call cleanup funcs during deconstruction.
        modified:
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        ------------------------------------------------------------
        revno: 3735.143.1
        revision-id: john at arbash-meinel.com-20081209213549-yc1mqv3l5gun9c63
        parent: pqm at pqm.ubuntu.com-20081209163533-fj6hx9l65sretbai
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: fifo_cache
        timestamp: Tue 2008-12-09 15:35:49 -0600
        message:
          Start working on a FIFOCache.
          
          This is designed to have less runtime cost than the LRUCache.
          Mostly because we don't have to do any recording work on *access*
          only on update or delete.
          As such, we subclass dict directly, because experiments show that
          it performed the best. Unfortunately, even though we don't have
          a custom __getitem__ implementation, it is still approx 2x slower
          than using a raw dict.
        added:
          bzrlib/fifo_cache.py           fifo_cache.py-20081209212307-31ffjwvteyvmydnf-1
          bzrlib/tests/test_fifo_cache.py test_fifo_cache.py-20081209212307-31ffjwvteyvmydnf-2
        modified:
          bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
    ------------------------------------------------------------
    revno: 3735.139.5
    revision-id: pqm at pqm.ubuntu.com-20081210004116-qqips4wfg800p4ku
    parent: pqm at pqm.ubuntu.com-20081209205258-uop2lclksyc9whj8
    parent: john at arbash-meinel.com-20081209223156-8usxe0ihbbg4cpjq
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Wed 2008-12-10 00:41:16 +0000
    message:
      (jam) Tweaks to the LRUCache code, butter memory use,
      	mostly code cleanup.
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/lru_cache.py            lru_cache.py-20070119165515-tlw203kuwh0id5gv-1
      bzrlib/tests/test_lru_cache.py test_lru_cache.py-20070119165535-hph6rk4h9rzy4180-1
        ------------------------------------------------------------
        revno: 3735.137.2
        revision-id: john at arbash-meinel.com-20081209223156-8usxe0ihbbg4cpjq
        parent: john at arbash-meinel.com-20081208182300-u1qmnxafwt2rr5dz
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: lru_cache
        timestamp: Tue 2008-12-09 16:31:56 -0600
        message:
          Only cache cleanup functions if they aren't None.
        modified:
          bzrlib/lru_cache.py            lru_cache.py-20070119165515-tlw203kuwh0id5gv-1
    ------------------------------------------------------------
    revno: 3735.139.4
    revision-id: pqm at pqm.ubuntu.com-20081209205258-uop2lclksyc9whj8
    parent: pqm at pqm.ubuntu.com-20081209163533-fj6hx9l65sretbai
    parent: gphemsley at gmail.com-20081209194959-qk6a4ho0v6qbcvrs
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Tue 2008-12-09 20:52:58 +0000
    message:
      (Gordon P. Hemsley) Add a trailing slash to directories for 'bzr ls'
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
      bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
      doc/developers/HACKING.txt     HACKING-20050805200004-2a5dc975d870f78c
        ------------------------------------------------------------
        revno: 3735.142.6
        revision-id: gphemsley at gmail.com-20081209194959-qk6a4ho0v6qbcvrs
        parent: gphemsley at gmail.com-20081209092211-t41qyggtpohyxz3p
        committer: Gordon P. Hemsley <gphemsley at gmail.com>
        branch nick: bug-306424-ls-trailing-slash
        timestamp: Tue 2008-12-09 14:49:59 -0500
        message:
          Revert added slash for null-separated output of 'bzr ls'.
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
        ------------------------------------------------------------
        revno: 3735.142.5
        revision-id: gphemsley at gmail.com-20081209092211-t41qyggtpohyxz3p
        parent: gphemsley at gmail.com-20081209091818-03c3z0cyty2jn2gv
        committer: Gordon P. Hemsley <gphemsley at gmail.com>
        branch nick: bug-306424-ls-trailing-slash
        timestamp: Tue 2008-12-09 04:22:11 -0500
        message:
          Fixed I-before-E typo in passing.
        modified:
          doc/developers/HACKING.txt     HACKING-20050805200004-2a5dc975d870f78c
        ------------------------------------------------------------
        revno: 3735.142.4
        revision-id: gphemsley at gmail.com-20081209091818-03c3z0cyty2jn2gv
        parent: gphemsley at gmail.com-20081209091359-t9j2isw8vhrpxk85
        committer: Gordon P. Hemsley <gphemsley at gmail.com>
        branch nick: bug-306424-ls-trailing-slash
        timestamp: Tue 2008-12-09 04:18:18 -0500
        message:
          Add note to NEWS.
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
        ------------------------------------------------------------
        revno: 3735.142.3
        revision-id: gphemsley at gmail.com-20081209091359-t9j2isw8vhrpxk85
        parent: gphemsley at gmail.com-20081209090945-dj6nxd0vdsqlc2bh
        committer: Gordon P. Hemsley <gphemsley at gmail.com>
        branch nick: bug-306424-ls-trailing-slash
        timestamp: Tue 2008-12-09 04:13:59 -0500
        message:
          Small optimization.
        modified:
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
        ------------------------------------------------------------
        revno: 3735.142.2
        revision-id: gphemsley at gmail.com-20081209090945-dj6nxd0vdsqlc2bh
        parent: gphemsley at gmail.com-20081209090003-jp2tf9268mfum2j3
        committer: Gordon P. Hemsley <gphemsley at gmail.com>
        branch nick: bug-306424-ls-trailing-slash
        timestamp: Tue 2008-12-09 04:09:45 -0500
        message:
          Change unittests to conform to new output.
        modified:
          bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
        ------------------------------------------------------------
        revno: 3735.142.1
        revision-id: gphemsley at gmail.com-20081209090003-jp2tf9268mfum2j3
        parent: pqm at pqm.ubuntu.com-20081209023452-12dbzcwzxrt1xee3
        committer: Gordon P. Hemsley <gphemsley at gmail.com>
        branch nick: bug-306424-ls-trailing-slash
        timestamp: Tue 2008-12-09 04:00:03 -0500
        message:
          Add trailing slash after directories.
        modified:
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
    ------------------------------------------------------------
    revno: 3735.139.3
    revision-id: pqm at pqm.ubuntu.com-20081209163533-fj6hx9l65sretbai
    parent: pqm at pqm.ubuntu.com-20081209155126-st6whj38jx3nl0ft
    parent: john at arbash-meinel.com-20081208194402-v50vbmybtyiojlk5
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Tue 2008-12-09 16:35:33 +0000
    message:
      (jam) Default to urllib for http and pycurl for https
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
        ------------------------------------------------------------
        revno: 3735.141.1
        revision-id: john at arbash-meinel.com-20081208194402-v50vbmybtyiojlk5
        parent: pqm at pqm.ubuntu.com-20081205181554-ofrdnafloc43bxkh
        committer: John Arbash Meinel <john at arbash-meinel.com>
        branch nick: default_urllib
        timestamp: Mon 2008-12-08 13:44:02 -0600
        message:
          Use urllib for http connections, pycurl for https connections.
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
          bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
    ------------------------------------------------------------
    revno: 3735.139.2
    revision-id: pqm at pqm.ubuntu.com-20081209155126-st6whj38jx3nl0ft
    parent: pqm at pqm.ubuntu.com-20081209023452-12dbzcwzxrt1xee3
    parent: aaron at aaronbentley.com-20081209151508-nd1jb1vv2z22llwm
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Tue 2008-12-09 15:51:26 +0000
    message:
      Pull -v respects log_format config var (abentley)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
      bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
        ------------------------------------------------------------
        revno: 3735.140.5
        revision-id: aaron at aaronbentley.com-20081209151508-nd1jb1vv2z22llwm
        parent: aaron at aaronbentley.com-20081209033614-3zjvk6v47u039uzd
        committer: Aaron Bentley <aaron at aaronbentley.com>
        branch nick: pull-log
        timestamp: Tue 2008-12-09 07:15:08 -0800
        message:
          Updates from review
        modified:
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
        ------------------------------------------------------------
        revno: 3735.140.4
        revision-id: aaron at aaronbentley.com-20081209033614-3zjvk6v47u039uzd
        parent: aaron at aaronbentley.com-20081209033407-zrrszq9wddwln1y2
        committer: Aaron Bentley <aaron at aaronbentley.com>
        branch nick: pull-log
        timestamp: Mon 2008-12-08 19:36:14 -0800
        message:
          Add NEWS entry
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
        ------------------------------------------------------------
        revno: 3735.140.3
        revision-id: aaron at aaronbentley.com-20081209033407-zrrszq9wddwln1y2
        parent: aaron at aaronbentley.com-20081209014107-w3v6jg9302mewvd0
        parent: pqm at pqm.ubuntu.com-20081209023452-12dbzcwzxrt1xee3
        committer: Aaron Bentley <aaron at aaronbentley.com>
        branch nick: pull-log
        timestamp: Mon 2008-12-08 19:34:07 -0800
        message:
          Merge bzr.dev into pull-log.
        added:
          bzrlib/foreign.py              foreign.py-20081112170002-olsxmandkk8qyfuq-1
          bzrlib/tests/test_foreign.py   test_foreign.py-20081125004048-ywb901edgp9lluxo-1
          contrib/convert_to_1.9.py      convert_to_dev2.py-20081014130524-z1ydl3mq9b4ehlvv-1
          tools/win32/build_release.py   build_release.py-20081105204355-2ghh5cv01v1x4rzz-1
        modified:
          NEWS                           NEWS-20050323055033-4e00b5db738777ff
          bzr                            bzr.py-20050313053754-5485f144c7006fa6
          bzrlib/__init__.py             __init__.py-20050309040759-33e65acf91bbcd5d
          bzrlib/_patiencediff_c.c       _patiencediff_c.c-20070721205602-q3imkipwlgagp3cy-1
          bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
          bzrlib/btree_index.py          index.py-20080624222253-p0x5f92uyh5hw734-7
          bzrlib/bugtracker.py           bugtracker.py-20070410073305-vu1vu1qosjurg8kb-1
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/bzrdir.py               bzrdir.py-20060131065624-156dfea39c4387cb
          bzrlib/config.py               config.py-20051011043216-070c74f4e9e338e8
          bzrlib/errors.py               errors.py-20050309040759-20512168c4e14fbd
          bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
          bzrlib/help_topics/__init__.py help_topics.py-20060920210027-rnim90q9e0bwxvy4-1
          bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
          bzrlib/log.py                  log.py-20050505065812-c40ce11702fe5fb1
          bzrlib/mutabletree.py          mutabletree.py-20060906023413-4wlkalbdpsxi2r4y-2
          bzrlib/registry.py             lazy_factory.py-20060809213415-2gfvqadtvdn0phtg-1
          bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
          bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
          bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
          bzrlib/revisionspec.py         revisionspec.py-20050907152633-17567659fd5c0ddb
          bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
          bzrlib/tests/blackbox/test_diff.py test_diff.py-20060110203741-aa99ac93e633d971
          bzrlib/tests/blackbox/test_log.py test_log.py-20060112090212-78f6ea560c868e24
          bzrlib/tests/branch_implementations/__init__.py __init__.py-20060123013057-b12a52c3f361daf4
          bzrlib/tests/branch_implementations/test_branch.py testbranch.py-20050711070244-121d632bc37d7253
          bzrlib/tests/branch_implementations/test_sprout.py test_sprout.py-20070521151739-b8t8p7axw1h966ws-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/commands/test_commit.py test_commit.py-20070913161801-ydrx2k5gmv7k7eiu-1
          bzrlib/tests/per_repository/test_add_fallback_repository.py test_add_fallback_re-20080215040003-8w9n4ck9uqdxj18m-1
          bzrlib/tests/per_repository/test_commit_builder.py test_commit_builder.py-20060606110838-76e3ra5slucqus81-1
          bzrlib/tests/per_repository/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
          bzrlib/tests/per_repository/test_revision.py testrevprops.py-20051013073044-92bc3c68302ce1bf
          bzrlib/tests/test_fetch.py     testfetch.py-20050825090644-f73e07e7dfb1765a
          bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
          bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309
          bzrlib/tests/test_pack_repository.py test_pack_repository-20080801043947-eaw0e6h2gu75kwmy-1
          bzrlib/tests/test_remote.py    test_remote.py-20060720103555-yeeg2x51vn0rbtdp-2
          bzrlib/tests/test_repository.py test_repository.py-20060131075918-65c555b881612f4d
          bzrlib/tests/test_sftp_transport.py testsftp.py-20051027032739-247570325fec7e7e
          bzrlib/tests/test_transport.py testtransport.py-20050718175618-e5cdb99f4555ddce
          bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
          bzrlib/tests/workingtree_implementations/test_parents.py test_set_parents.py-20060807231740-yicmnlci1mj8smu1-1
          bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
          bzrlib/transport/remote.py     ssh.py-20060608202016-c25gvf1ob7ypbus6-1
          bzrlib/upgrade.py              history2weaves.py-20050818063535-e7d319791c19a8b2
          bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
          doc/developers/ppa.txt         ppa.txt-20080722055539-606u7t2z32t3ae4w-1
        ------------------------------------------------------------
        revno: 3735.140.2
        revision-id: aaron at aaronbentley.com-20081209014107-w3v6jg9302mewvd0
        parent: aaron at aaronbentley.com-20081209013728-43v0yz6mo2jfexqv
        committer: Aaron Bentley <aaron at aaronbentley.com>
        branch nick: pull-log
        timestamp: Mon 2008-12-08 17:41:07 -0800
        message:
          Make test stricter
        modified:
          bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
        ------------------------------------------------------------
        revno: 3735.140.1
        revision-id: aaron at aaronbentley.com-20081209013728-43v0yz6mo2jfexqv
        parent: pqm at pqm.ubuntu.com-20081125021810-2dhu9lqkn6nh5bhn
        committer: Aaron Bentley <aaron at aaronbentley.com>
        branch nick: pull-log
        timestamp: Mon 2008-12-08 17:37:28 -0800
        message:
          Use default log format in pull -v
        modified:
          bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
          bzrlib/tests/blackbox/test_pull.py test_pull.py-20051201144907-64959364f629947f
    ------------------------------------------------------------
    revno: 3735.139.1
    revision-id: pqm at pqm.ubuntu.com-20081209023452-12dbzcwzxrt1xee3
    parent: pqm at pqm.ubuntu.com-20081205181554-ofrdnafloc43bxkh
    parent: mbp at sourcefrog.net-20081209014956-mbak0aw0zrprcido
    committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
    branch nick: +trunk
    timestamp: Tue 2008-12-09 02:34:52 +0000
    message:
      (mbp) Don't call iteritems on transport_list_registry, because it may change during iteration
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/registry.py             lazy_factory.py-20060809213415-2gfvqadtvdn0phtg-1
      bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
    ------------------------------------------------------------
    revno: 3735.138.2
    revision-id: mbp at sourcefrog.net-20081209014956-mbak0aw0zrprcido
    parent: mbp at sourcefrog.net-20081209005125-t9gmzphq8np6bvti
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: 277048-transport-registry
    timestamp: Mon 2008-12-08 17:49:56 -0800
    message:
      Add Registry.items()
    modified:
      bzrlib/registry.py             lazy_factory.py-20060809213415-2gfvqadtvdn0phtg-1
    ------------------------------------------------------------
    revno: 3735.138.1
    revision-id: mbp at sourcefrog.net-20081209005125-t9gmzphq8np6bvti
    parent: pqm at pqm.ubuntu.com-20081205181554-ofrdnafloc43bxkh
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: 277048-transport-registry
    timestamp: Mon 2008-12-08 16:51:25 -0800
    message:
      Don't call iteritems on transport_list_registry, because it may change during iteration
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
-------------- next part --------------

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


More information about the bazaar-commits mailing list