Rev 3350: (robertc) Many VersionedFile api cleanups and deprecations. Some in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Apr 10 00:36:02 BST 2008


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3350
revision-id:pqm at pqm.ubuntu.com-20080409233555-n26cmi0y1hb98tf6
parent: pqm at pqm.ubuntu.com-20080409073641-pvhyvdyt42fph5xf
parent: robertc at robertcollins.net-20080409213934-hf17drb3br1yyspz
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2008-04-10 00:35:55 +0100
message:
  (robertc) Many VersionedFile api cleanups and deprecations. Some
  	incompatible changes included (see NEWS). (Robert Collins)
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/annotate.py             annotate.py-20050922133147-7c60541d2614f022
  bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
  bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
  bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
  bzrlib/multiparent.py          __init__.py-20070410133617-n1jdhcc1n1mibarp-1
  bzrlib/repofmt/knitrepo.py     knitrepo.py-20070206081537-pyy4a00xdas0j4pf-1
  bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
  bzrlib/repofmt/weaverepo.py    presplitout.py-20070125045333-wfav3tsh73oxu3zk-1
  bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
  bzrlib/revisiontree.py         revisiontree.py-20060724012533-bg8xyryhxd0o0i0h-1
  bzrlib/store/revision/knit.py  knit.py-20060303020652-de5fa299e941a3c7
  bzrlib/store/versioned/__init__.py weavestore.py-20050907094258-88262e0434babab9
  bzrlib/tests/interversionedfile_implementations/__init__.py __init__.py-20060302012326-981af525594d02ed
  bzrlib/tests/repository_implementations/test_check_reconcile.py test_broken.py-20070928125406-62236394w0jpbpd6-2
  bzrlib/tests/revisionstore_implementations/test_all.py test_all.py-20060303020702-9b2d4c1d75407f31
  bzrlib/tests/test_fetch.py     testfetch.py-20050825090644-f73e07e7dfb1765a
  bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
  bzrlib/tests/test_merge.py     testmerge.py-20050905070950-c1b5aa49ff911024
  bzrlib/tests/test_store.py     teststore.py-20050826022702-f6caadb647395769
  bzrlib/tests/test_subsume.py   test_subsume.py-20060927040024-tsvh4pchajoayymg-1
  bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
  bzrlib/tests/test_weave.py     testknit.py-20050627023648-9833cc5562ffb785
  bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
  bzrlib/weave.py                knit.py-20050627021749-759c29984154256b
  bzrlib/workingtree_4.py        workingtree_4.py-20070208044105-5fgpc5j3ljlh5q6c-1
    ------------------------------------------------------------
    revno: 3316.2.15
    revision-id:robertc at robertcollins.net-20080409213934-hf17drb3br1yyspz
    parent: robertc at robertcollins.net-20080409201346-2m5dpim3cowzwacs
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Thu 2008-04-10 07:39:34 +1000
    message:
      Final review feedback.
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
    ------------------------------------------------------------
    revno: 3316.2.14
    revision-id:robertc at robertcollins.net-20080409201346-2m5dpim3cowzwacs
    parent: robertc at robertcollins.net-20080409003454-x19fm1n0o2govzh6
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Thu 2008-04-10 06:13:46 +1000
    message:
      Spelling in NEWS.
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
    ------------------------------------------------------------
    revno: 3316.2.13
    revision-id:robertc at robertcollins.net-20080409003454-x19fm1n0o2govzh6
    parent: robertc at robertcollins.net-20080408224755-cv6j2zt6ij6mvsav
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Wed 2008-04-09 10:34:54 +1000
    message:
       * ``VersionedFile.annotate_iter`` is deprecated. While in principal this
         allows lower memory use, all users of annotations wanted full file 
         annotations, and there is no storage format suitable for incremental
         line-by-line annotation. (Robert Collins)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/annotate.py             annotate.py-20050922133147-7c60541d2614f022
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/multiparent.py          __init__.py-20070410133617-n1jdhcc1n1mibarp-1
      bzrlib/revisiontree.py         revisiontree.py-20060724012533-bg8xyryhxd0o0i0h-1
      bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
      bzrlib/weave.py                knit.py-20050627021749-759c29984154256b
      bzrlib/workingtree_4.py        workingtree_4.py-20070208044105-5fgpc5j3ljlh5q6c-1
    ------------------------------------------------------------
    revno: 3316.2.12
    revision-id:robertc at robertcollins.net-20080408224755-cv6j2zt6ij6mvsav
    parent: robertc at robertcollins.net-20080408214115-qiz6rr5kyt5mxsyi
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Wed 2008-04-09 08:47:55 +1000
    message:
      Catch some extra deprecated calls.
    modified:
      bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
    ------------------------------------------------------------
    revno: 3316.2.11
    revision-id:robertc at robertcollins.net-20080408214115-qiz6rr5kyt5mxsyi
    parent: robertc at robertcollins.net-20080408041308-lfbh0gmvwfhc53yx
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Wed 2008-04-09 07:41:15 +1000
    message:
       * ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
         These methods added significant complexity to the ``VersionedFile``
         implementation, but were only used for optimising fetches from knits - 
         which can be done from outside the knit layer, or via a caching
         decorator. As knits are not the default format, the complexity is no
         longer worth paying. (Robert Collins)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/repofmt/weaverepo.py    presplitout.py-20070125045333-wfav3tsh73oxu3zk-1
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
    ------------------------------------------------------------
    revno: 3316.2.10
    revision-id:robertc at robertcollins.net-20080408041308-lfbh0gmvwfhc53yx
    parent: robertc at robertcollins.net-20080408033943-ihbgs5wyqnh61bit
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Tue 2008-04-08 14:13:08 +1000
    message:
       * ``VersionedFile.clone_text`` is deprecated. This performance optimisation
         is no longer used - reading the content of a file that is undergoing a
         file level merge to identical state on two branches is rare enough, and
         not expensive enough to special case. (Robert Collins)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
      bzrlib/weave.py                knit.py-20050627021749-759c29984154256b
    ------------------------------------------------------------
    revno: 3316.2.9
    revision-id:robertc at robertcollins.net-20080408033943-ihbgs5wyqnh61bit
    parent: robertc at robertcollins.net-20080408023132-krhhq7sn52hff1tc
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Tue 2008-04-08 13:39:43 +1000
    message:
       * ``VersionedFile.get_sha1`` is deprecated, please use
         ``VersionedFile.get_sha1s``. (Robert Collins)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/tests/repository_implementations/test_check_reconcile.py test_broken.py-20070928125406-62236394w0jpbpd6-2
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
      bzrlib/tests/test_weave.py     testknit.py-20050627023648-9833cc5562ffb785
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
      bzrlib/weave.py                knit.py-20050627021749-759c29984154256b
    ------------------------------------------------------------
    revno: 3316.2.8
    revision-id:robertc at robertcollins.net-20080408023132-krhhq7sn52hff1tc
    parent: robertc at robertcollins.net-20080408020125-lhp1vvxigfubw8db
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Tue 2008-04-08 12:31:32 +1000
    message:
       * ``VersionedFile.iter_parents`` is now deprecated in favour of
         ``get_parent_map`` which can be used to instantiate a Graph on a
         VersionedFile. (Robert Collins)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
    ------------------------------------------------------------
    revno: 3316.2.7
    revision-id:robertc at robertcollins.net-20080408020125-lhp1vvxigfubw8db
    parent: robertc at robertcollins.net-20080408005707-jzx5nkcjvsiw7r12
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Tue 2008-04-08 12:01:25 +1000
    message:
      Actually deprecated VersionedFile.get_graph.
    modified:
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
    ------------------------------------------------------------
    revno: 3316.2.6
    revision-id:robertc at robertcollins.net-20080408005707-jzx5nkcjvsiw7r12
    parent: robertc at robertcollins.net-20080407215208-rg0qk19a7sanekl1
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Tue 2008-04-08 10:57:07 +1000
    message:
       * ``VersionedFileStore`` no longer uses the transaction parameter given
         to most methods; amongst other things this means that the
         get_weave_or_empty method no longer guarantees errors on a missing weave
         in a readonly transaction, and no longer caches versioned file instances
         which reduces memory pressure (but requires more careful management by
         callers to preserve performance.  (Robert Collins)
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/store/versioned/__init__.py weavestore.py-20050907094258-88262e0434babab9
      bzrlib/tests/test_fetch.py     testfetch.py-20050825090644-f73e07e7dfb1765a
      bzrlib/tests/test_store.py     teststore.py-20050826022702-f6caadb647395769
    ------------------------------------------------------------
    revno: 3316.2.5
    revision-id:robertc at robertcollins.net-20080407215208-rg0qk19a7sanekl1
    parent: robertc at robertcollins.net-20080407045452-8r6asf9hs0cl5jvy
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Tue 2008-04-08 07:52:08 +1000
    message:
      Review feedback.
    modified:
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/weave.py                knit.py-20050627021749-759c29984154256b
    ------------------------------------------------------------
    revno: 3316.2.4
    revision-id:robertc at robertcollins.net-20080407045452-8r6asf9hs0cl5jvy
    parent: robertc at robertcollins.net-20080404000658-uw2nmrw8t5kcqbly
    parent: pqm at pqm.ubuntu.com-20080407012644-p1nash3ycyh2f5n8
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Mon 2008-04-07 14:54:52 +1000
    message:
      Merge .dev.
    added:
      bzrlib/tests/test_mutabletree.py test_mutabletree.py-20080405014429-2v0cdi3re320p8db-1
      doc/developers/plugin-api.txt  pluginapi.txt-20080229110225-q2j5y4agqhlkjn0s-1
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
      bzrlib/errors.py               errors.py-20050309040759-20512168c4e14fbd
      bzrlib/mutabletree.py          mutabletree.py-20060906023413-4wlkalbdpsxi2r4y-2
      bzrlib/plugin.py               plugin.py-20050622060424-829b654519533d69
      bzrlib/tests/TestUtil.py       TestUtil.py-20050824080200-5f70140a2d938694
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
      bzrlib/tests/blackbox/test_switch.py test_switch.py-20071122111948-0c5en6uz92bwl76h-1
      bzrlib/tests/test_errors.py    test_errors.py-20060210110251-41aba2deddf936a8
      bzrlib/tests/test_merge.py     testmerge.py-20050905070950-c1b5aa49ff911024
      bzrlib/tests/test_plugins.py   plugins.py-20050622075746-32002b55e5e943e9
      bzrlib/tests/test_selftest.py  test_selftest.py-20051202044319-c110a115d8c0456a
      bzrlib/tests/workingtree_implementations/test_commit.py test_commit.py-20060421013633-1610ec2331c8190f
      bzrlib/transform.py            transform.py-20060105172343-dd99e54394d91687
      doc/developers/index.txt       index.txt-20070508041241-qznziunkg0nffhiw-1
      doc/en/user-guide/core_concepts.txt core_concepts.txt-20071114035000-q36a9h57ps06uvnl-2
    ------------------------------------------------------------
    revno: 3316.2.3
    revision-id:robertc at robertcollins.net-20080404000658-uw2nmrw8t5kcqbly
    parent: robertc at robertcollins.net-20080404000223-m270i246sp9uatmt
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: api-cleanup
    timestamp: Fri 2008-04-04 11:06:58 +1100
    message:
      Remove manual notification of transaction finishing on versioned files.
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
      bzrlib/repofmt/knitrepo.py     knitrepo.py-20070206081537-pyy4a00xdas0j4pf-1
      bzrlib/repofmt/pack_repo.py    pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
      bzrlib/repofmt/weaverepo.py    presplitout.py-20070125045333-wfav3tsh73oxu3zk-1
      bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
      bzrlib/store/revision/knit.py  knit.py-20060303020652-de5fa299e941a3c7
      bzrlib/store/versioned/__init__.py weavestore.py-20050907094258-88262e0434babab9
      bzrlib/tests/interversionedfile_implementations/__init__.py __init__.py-20060302012326-981af525594d02ed
      bzrlib/tests/revisionstore_implementations/test_all.py test_all.py-20060303020702-9b2d4c1d75407f31
      bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
      bzrlib/tests/test_merge.py     testmerge.py-20050905070950-c1b5aa49ff911024
      bzrlib/tests/test_store.py     teststore.py-20050826022702-f6caadb647395769
      bzrlib/tests/test_subsume.py   test_subsume.py-20060927040024-tsvh4pchajoayymg-1
      bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
      bzrlib/tests/test_weave.py     testknit.py-20050627023648-9833cc5562ffb785
      bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
      bzrlib/weave.py                knit.py-20050627021749-759c29984154256b

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



More information about the bazaar-commits mailing list