Rev 2294: (John Arbash Meinel) Clean up most internals to use utf-8 revision ids instead of Unicode. in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Sat Feb 17 02:58:25 GMT 2007


------------------------------------------------------------
revno: 2294
revision-id: pqm at pqm.ubuntu.com-20070217025822-306d98c244b53b08
parent: pqm at pqm.ubuntu.com-20070216064835-76166d68f1750e11
parent: john at arbash-meinel.com-20070217023632-ad2nt50u1oal2ji0
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sat 2007-02-17 02:58:22 +0000
message:
  (John Arbash Meinel) Clean up most internals to use utf-8 revision ids instead of Unicode.
added:
  bzrlib/tests/repository_implementations/test_iter_reverse_revision_history.py test_iter_reverse_re-20070217015036-spu7j5ggch7pbpyd-1
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
  bzrlib/cache_utf8.py           cache_utf8.py-20060810004311-x4cph46la06h9azm-1
  bzrlib/generate_ids.py         generate_ids.py-20061102205935-z3do15ipw6m7v26u-1
  bzrlib/knit.py                 knit.py-20051212171256-f056ac8f0fbe1bd9
  bzrlib/lockable_files.py       control_files.py-20051111201905-bb88546e799d669f
  bzrlib/osutils.py              osutils.py-20050309040759-eeaff12fbf77ac86
  bzrlib/repofmt/knitrepo.py     knitrepo.py-20070206081537-pyy4a00xdas0j4pf-1
  bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
  bzrlib/revisiontree.py         revisiontree.py-20060724012533-bg8xyryhxd0o0i0h-1
  bzrlib/store/revision/__init__.py __init__.py-20060303014707-305238f06ae20dae
  bzrlib/store/revision/knit.py  knit.py-20060303020652-de5fa299e941a3c7
  bzrlib/store/revision/text.py  text.py-20060303020652-e49155f0da4d14ab
  bzrlib/tests/branch_implementations/test_branch.py testbranch.py-20050711070244-121d632bc37d7253
  bzrlib/tests/repository_implementations/__init__.py __init__.py-20060131092037-9564957a7d4a841b
  bzrlib/tests/repository_implementations/test_commit_builder.py test_commit_builder.py-20060606110838-76e3ra5slucqus81-1
  bzrlib/tests/test_cache_utf8.py test_cache_utf8.py-20060810004311-x4cph46la06h9azm-2
  bzrlib/tests/test_generate_ids.py test_generate_ids.py-20061102205935-z3do15ipw6m7v26u-2
  bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
  bzrlib/tests/test_lockable_files.py test_lockable_files.py-20051225183927-365c7fd99591caf1
  bzrlib/tests/test_osutils.py   test_osutils.py-20051201224856-e48ee24c12182989
  bzrlib/tests/test_versionedfile.py test_versionedfile.py-20060222045249-db45c9ed14a1c2e5
  bzrlib/tests/test_xml.py       test_xml.py-20050905091053-80b45588931a9b35
  bzrlib/tests/workingtree_implementations/test_get_parent_ids.py test_get_parent_ids.py-20060616123734-jq0zc755ud2u644s-1
  bzrlib/tests/workingtree_implementations/test_workingtree.py test_workingtree.py-20060203003124-817757d3e31444fb
  bzrlib/versionedfile.py        versionedfile.py-20060222045106-5039c71ee3b65490
  bzrlib/workingtree.py          workingtree.py-20050511021032-29b6ec0a681e02e3
  bzrlib/xml5.py                 xml5.py-20050907032657-aac8f960815b66b1
  bzrlib/xml6.py                 xml6.py-20060823042456-dbaaq4atrche7xy5-1
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070217023632-ad2nt50u1oal2ji0
    parent: john at arbash-meinel.com-20070217023345-vhrz7igv9q7kd762
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-16 20:36:32 -0600
    message:
      Add NEWS entry about utf8 revision ids.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070217023345-vhrz7igv9q7kd762
    parent: john at arbash-meinel.com-20070217020241-cy6wl3oa17mvnvax
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-16 20:33:45 -0600
    message:
      Track through the new Branch6 code, and make sure revision ids are utf8
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070217020241-cy6wl3oa17mvnvax
    parent: john at arbash-meinel.com-20070217014257-3chgn02femptf4co
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-16 20:02:41 -0600
    message:
      Add tests for iter_reverse_revision_history
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070217014257-3chgn02femptf4co
    parent: john at arbash-meinel.com-20070213203357-b7yg41mi9sk6cqd0
    parent: pqm at pqm.ubuntu.com-20070216064835-76166d68f1750e11
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-16 19:42:57 -0600
    message:
      [merge] bzr.dev 2293 and resolve conflicts, but still broken
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070213203357-b7yg41mi9sk6cqd0
    parent: john at arbash-meinel.com-20070213133816-r6swt6ibvtms473f
    parent: pqm at pqm.ubuntu.com-20070213114814-9606106906ac312f
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Tue 2007-02-13 14:33:57 -0600
    message:
      [merge] bzr.dev 2283
      resolve conflicts in moved repository formats
      small issue with osutils.contains_whitespace()
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070213133816-r6swt6ibvtms473f
    parent: john at arbash-meinel.com-20070210170218-6qxxiywltp0uawzw
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Tue 2007-02-13 07:38:16 -0600
    message:
      remove get_cached_utf8 checks which were slowing things down.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070210170218-6qxxiywltp0uawzw
    parent: john at arbash-meinel.com-20070210165429-xbz7zv9ehhi6fspj
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Sat 2007-02-10 11:02:18 -0600
    message:
      Add some tests that generate_ids.get_revision_id() generates ascii revision ids
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070210165429-xbz7zv9ehhi6fspj
    parent: john at arbash-meinel.com-20070210024843-oz2ed16luwjca48h
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Sat 2007-02-10 10:54:29 -0600
    message:
      Finish auditing Repository, and fix generate_ids to always generate utf8 ids.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070210024843-oz2ed16luwjca48h
    parent: john at arbash-meinel.com-20070209233924-k7qbjpta67k3ry2h
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 20:48:43 -0600
    message:
      Change the APIs for VersionedFile, Store, and some of Repository into utf-8
      Get tests to pass again.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209233924-k7qbjpta67k3ry2h
    parent: john at arbash-meinel.com-20070209231553-9ywoxs2t3dsx667s
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 17:39:24 -0600
    message:
      Audit Branch to ensure utf8 revision ids.
      Requires a small update to lockable_files to allow us to directly
      write byte strings, without needing to wrap in a StringIO
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209231553-9ywoxs2t3dsx667s
    parent: john at arbash-meinel.com-20070209181144-3cxnt3e4jre3e317
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 17:15:53 -0600
    message:
      Make sure xml5 can handle unicode or utf8 strings
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209181144-3cxnt3e4jre3e317
    parent: john at arbash-meinel.com-20070209175018-pv9ok1ocbchn4wly
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 12:11:44 -0600
    message:
      Update WorkingTree to use safe_revision_id when appropriate
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209175018-pv9ok1ocbchn4wly
    parent: john at arbash-meinel.com-20070209172423-xu5e0b12sf71m0pj
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 11:50:18 -0600
    message:
      Add osutils.safe_utf8 and safe_revision_id for the new revision_id work.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209172423-xu5e0b12sf71m0pj
    parent: john at arbash-meinel.com-20070209171626-x3gg6hgainzs91sj
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 11:24:23 -0600
    message:
      Make sure WorkingTree revision_ids are also returned as utf8 strings
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209171626-x3gg6hgainzs91sj
    parent: john at arbash-meinel.com-20070209171556-sxv0wiwdubivwmnn
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 11:16:26 -0600
    message:
      Make sure Branch.revision_history() also works in utf-8 revision ids.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209171556-sxv0wiwdubivwmnn
    parent: john at arbash-meinel.com-20070209164831-w5kk2hhyoprze3fb
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 11:15:56 -0600
    message:
      better comment for why we are decoding
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209164831-w5kk2hhyoprze3fb
    parent: john at arbash-meinel.com-20070209164100-t9t1760kq6y5qgwn
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 10:48:31 -0600
    message:
      When reading XML, always return utf-8 revision ids.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070209164100-t9t1760kq6y5qgwn
    parent: john at arbash-meinel.com-20070208231037-xzuzlh339rmgfhk6
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Fri 2007-02-09 10:41:00 -0600
    message:
      Add get_cached_ascii for dealing with how cElementTree handles ascii strings
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070208231037-xzuzlh339rmgfhk6
    parent: john at arbash-meinel.com-20070208215253-4x90cx3ybnyixo5y
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Thu 2007-02-08 17:10:37 -0600
    message:
      Add a get_cached_utf8, which will ensure it is really utf8, and cache the strings
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070208215253-4x90cx3ybnyixo5y
    parent: pqm at pqm.ubuntu.com-20070131184047-424584b0fabcee96
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: knit_utf8_revision_ids
    timestamp: Thu 2007-02-08 15:52:53 -0600
    message:
      Leave revision-ids in utf-8 when reading.



More information about the bazaar-commits mailing list