Rev 2376: (Andrew Bennetts) Replace Branch.get_transaction and associated infrastructure with simpler caching of revision history. in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Mar 26 08:30:05 BST 2007


------------------------------------------------------------
revno: 2376
revision-id: pqm at pqm.ubuntu.com-20070326073003-37941d0fa5a5a6c4
parent: pqm at pqm.ubuntu.com-20070324001115-e8868e5d82612556
parent: andrew.bennetts at canonical.com-20070326071140-s1ldac8zkl1b417h
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2007-03-26 08:30:03 +0100
message:
  (Andrew Bennetts) Replace Branch.get_transaction and associated infrastructure with simpler caching of revision history.
added:
  bzrlib/tests/branch_implementations/test_revision_history.py test_revision_histor-20070326062311-v7co92liyuchb80w-1
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
  bzrlib/identitymap.py          identitymap.py-20051007040721-83e837d831a6636a
  bzrlib/tests/branch_implementations/__init__.py __init__.py-20060123013057-b12a52c3f361daf4
  bzrlib/tests/branch_implementations/test_branch.py testbranch.py-20050711070244-121d632bc37d7253
  bzrlib/tests/test_identitymap.py testidentitymap.py-20051007040721-37936d473bd1ac51
  bzrlib/tests/workingtree_implementations/test_inv.py test_inv.py-20070311221604-ighlq8tbn5xq0kuo-1
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326071140-s1ldac8zkl1b417h
    parent: andrew.bennetts at canonical.com-20070326063215-roox9zrjgwbyggrt
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 17:11:40 +1000
    message:
      Fix test_snapshot_new_revision to use branch.repository.get_transaction instead of branch.get_transaction.
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326063215-roox9zrjgwbyggrt
    parent: andrew.bennetts at canonical.com-20070326062401-k3nbefzje5332jaf
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 16:32:15 +1000
    message:
      Rename _clear_cached_data to _clear_cached_state.
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326062401-k3nbefzje5332jaf
    parent: andrew.bennetts at canonical.com-20070326051152-1q3ntmsj2b4dv9k5
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 16:24:01 +1000
    message:
      Deal with review comments from Robert:
      
        * Add my name to the NEWS file
        * Move the test case to a new module in branch_implementations
        * Remove revision_history cruft from identitymap and test_identitymap
        * Improve some docstrings
      
      Also, this fixes a bug where revision_history was not returning a copy of the
      cached data, allowing the cache to be corrupted.
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326051152-1q3ntmsj2b4dv9k5
    parent: andrew.bennetts at canonical.com-20070326045509-mdnlny5ge3sevuns
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 15:11:52 +1000
    message:
      Remote Branch.get_transaction and friends.
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326045509-mdnlny5ge3sevuns
    parent: andrew.bennetts at canonical.com-20070326014152-yym3dec6270pxjc3
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 14:55:09 +1000
    message:
      Don't use Branch.get_transaction to cache revision history.
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326014152-yym3dec6270pxjc3
    parent: andrew.bennetts at canonical.com-20070326010253-7w19g5fpc4os7pkf
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 11:41:52 +1000
    message:
      More tests for Branch revision history caching.
    ------------------------------------------------------------
    merged: andrew.bennetts at canonical.com-20070326010253-7w19g5fpc4os7pkf
    parent: pqm at pqm.ubuntu.com-20070324001115-e8868e5d82612556
    committer: Andrew Bennetts <andrew.bennetts at canonical.com>
    branch nick: remove-branch-transaction
    timestamp: Mon 2007-03-26 11:02:53 +1000
    message:
      Start some tests for the caching of branch revision_history.



More information about the bazaar-commits mailing list