Rev 1709: [patch] Lalo Martins: add python path information to bzr --version in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed May 31 06:56:59 BST 2006


------------------------------------------------------------
revno: 1709
revision-id: pqm at pqm.ubuntu.com-20060531055658-2fa78bd860286282
parent: pqm at pqm.ubuntu.com-20060529231516-cad98b5042ea75f3
parent: john at arbash-meinel.com-20060531041242-3e3d81812592bf70
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2006-05-31 06:56:58 +0100
message:
  [patch] Lalo Martins: add python path information to bzr --version
added:
  bzrlib/benchmarks/bench_workingtree.py bench_workingtree.py-20060527061822-cxrgsa9ax2q4d82q-1
modified:
  BRANCH.TODO                    BRANCH.TODO-20060103052123-79ac4969351c03a9
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  TODO                           TODO-20050426050852-44d2ad9048dafbe9
  bzrlib/benchmarks/__init__.py  __init__.py-20060516064526-eb0d37c78e86065d
  bzrlib/benchmarks/bench_status.py bench_status.py-20060520215801-2cc60f6da5625927
  bzrlib/bzrdir.py               bzrdir.py-20060131065624-156dfea39c4387cb
  bzrlib/delta.py                delta.py-20050729221636-54cf14ef94783d0a
  bzrlib/diff.py                 diff.py-20050309040759-26944fbbf2ebbf36
  bzrlib/inventory.py            inventory.py-20050309040759-6648b84ca2005b37
  bzrlib/osutils.py              osutils.py-20050309040759-eeaff12fbf77ac86
  bzrlib/symbol_versioning.py    symbol_versioning.py-20060105104851-9ecf8af605d15a80
  bzrlib/tests/test_inv.py       testinv.py-20050722220913-1dc326138d1a5892
  bzrlib/tests/test_osutils.py   test_osutils.py-20051201224856-e48ee24c12182989
  bzrlib/tests/test_xml.py       test_xml.py-20050905091053-80b45588931a9b35
  bzrlib/tests/workingtree_implementations/test_basis_inventory.py test_basis_inventory.py-20051218151655-3650468941091309
  bzrlib/tests/workingtree_implementations/test_workingtree.py test_workingtree.py-20060203003124-817757d3e31444fb
  bzrlib/tree.py                 tree.py-20050309040759-9d5f2496be663e77
  bzrlib/workingtree.py          workingtree.py-20050511021032-29b6ec0a681e02e3
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060531041242-3e3d81812592bf70
    parent: john at arbash-meinel.com-20060530153352-587d294a7744be21
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: jam-integration
    timestamp: Tue 2006-05-30 23:12:42 -0500
    message:
      Fix up bzrlib.diff now that compare_trees is returning unicode paths.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060530153352-587d294a7744be21
    parent: john at arbash-meinel.com-20060530152952-acd0eb8ce3c82152
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: jam-integration
    timestamp: Tue 2006-05-30 10:33:52 -0500
    message:
      added NEWS entry for compare_trees changes.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060530152952-acd0eb8ce3c82152
    parent: john at arbash-meinel.com-20060529011743-03c33eb3373932b6
    parent: john at arbash-meinel.com-20060530053457-7af4ce2bdfa61b47
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: jam-integration
    timestamp: Tue 2006-05-30 10:29:52 -0500
    message:
      [merge] Performance tweaking for 'bzr status'
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060530053457-7af4ce2bdfa61b47
    parent: john at arbash-meinel.com-20060530044448-81612e2e57c3991f
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Tue 2006-05-30 00:34:57 -0500
    message:
      More file_kind tweaks. Use keyword parameters to make everything a local variable.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060530044448-81612e2e57c3991f
    parent: john at arbash-meinel.com-20060530043335-2c754880fbbe2950
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Mon 2006-05-29 23:44:48 -0500
    message:
      Update documentation and TODO for compare_trees
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060530043335-2c754880fbbe2950
    parent: john at arbash-meinel.com-20060530043316-664ef5010fe055dd
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Mon 2006-05-29 23:33:35 -0500
    message:
      Add tests for fancy file types.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060530043316-664ef5010fe055dd
    parent: john at arbash-meinel.com-20060528035621-3460c764281b032f
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Mon 2006-05-29 23:33:16 -0500
    message:
      Document bench_workingtree
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060528035621-3460c764281b032f
    parent: john at arbash-meinel.com-20060527092405-eedd2569235c1035
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 22:56:21 -0500
    message:
      Switch to using bzrlib.xml5.serializer_v5 so that a plugin can override it if we want
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527092405-eedd2569235c1035
    parent: john at arbash-meinel.com-20060527091101-63e9fceb80eabcf6
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 04:24:05 -0500
    message:
      Fix list_files test, we don't need to check if children are empty if we fall off the loop.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527091101-63e9fceb80eabcf6
    parent: john at arbash-meinel.com-20060527090637-e79e7f56c20f70c3
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 04:11:01 -0500
    message:
      iter_entries time drops to 1/6th time
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527090637-e79e7f56c20f70c3
    parent: john at arbash-meinel.com-20060527090430-5bd6583a64dfe5f3
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 04:06:37 -0500
    message:
      Switch iter_entries from being a recursive function and using pathjoin
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527090430-5bd6583a64dfe5f3
    parent: john at arbash-meinel.com-20060527084342-dd69ee58ea83701b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 04:04:30 -0500
    message:
      Bug in list_files if the last entry in a directory is another directory
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527084342-dd69ee58ea83701b
    parent: john at arbash-meinel.com-20060527082637-160ca91221084deb
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 03:43:42 -0500
    message:
      We don't need to strip off 2 characters, just do one, minor memory improvement
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527082637-160ca91221084deb
    parent: john at arbash-meinel.com-20060527081940-b9b872d50743430b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 03:26:37 -0500
    message:
      hash cache pre-scan cost us ~500ms on a kernel sized tree
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527081940-b9b872d50743430b
    parent: john at arbash-meinel.com-20060527075523-8650e3f9b04ce78d
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 03:19:40 -0500
    message:
      If you have the path, use it rather than looking it up again
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527075523-8650e3f9b04ce78d
    parent: john at arbash-meinel.com-20060527075502-9ed68e655a84eb2d
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 02:55:23 -0500
    message:
      50ms is probably not worth it
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527075502-9ed68e655a84eb2d
    parent: john at arbash-meinel.com-20060527074931-5ad16f5eeef7a7ad
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 02:55:02 -0500
    message:
      Drop another 50ms off by inlining the __getitem__ call for bzrlib.inventory.get_child
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527074931-5ad16f5eeef7a7ad
    parent: john at arbash-meinel.com-20060527071143-ee6a2957d65b236b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 02:49:31 -0500
    message:
      forgot about handling the base-level directories. stripping off './' is cheaper than an if/then to determine if we need to add '/' or not
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527071143-ee6a2957d65b236b
    parent: john at arbash-meinel.com-20060527070512-81428403e72aba6f
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 02:11:43 -0500
    message:
      Re-add the specific files handling to _compare_trees
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527070512-81428403e72aba6f
    parent: john at arbash-meinel.com-20060527065001-dd414d50a40661dd
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 02:05:12 -0500
    message:
      Some speedups by not calling pathjoin()
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527065001-dd414d50a40661dd
    parent: john at arbash-meinel.com-20060527063025-b8d5192cbf723469
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 01:50:01 -0500
    message:
      A large improvement from not popping the parent off until we have done all children.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527063025-b8d5192cbf723469
    parent: john at arbash-meinel.com-20060527061834-27459f9cd8d908f0
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 01:30:25 -0500
    message:
      improve bzrlib.osutils.file_kind performance from 324ms => 275ms
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527061834-27459f9cd8d908f0
    parent: john at arbash-meinel.com-20060527055450-acbbfbf55c3c4aa5
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 01:18:34 -0500
    message:
      Trying multiple things to get WorkingTree.list_files time down
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527055450-acbbfbf55c3c4aa5
    parent: john at arbash-meinel.com-20060527054936-42b3303c43e91367
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 00:54:50 -0500
    message:
      Updated version of file_kind. Rather than multiple function calls, one mask + dictionary lookup
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527054936-42b3303c43e91367
    parent: john at arbash-meinel.com-20060527054642-7573a73f2495b1de
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 00:49:36 -0500
    message:
      Non-recursive implementation of WorkingTree.list_files
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527054642-7573a73f2495b1de
    parent: john at arbash-meinel.com-20060527044839-83fdd64ce7d708bb
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Sat 2006-05-27 00:46:42 -0500
    message:
      Adding a test for list_files
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527044839-83fdd64ce7d708bb
    parent: john at arbash-meinel.com-20060527033538-ad8148d570c03535
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 23:48:39 -0500
    message:
      Instead of iterating randomly in both trees, _compare_trees now iterates in order on both trees simultaneously.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527033538-ad8148d570c03535
    parent: john at arbash-meinel.com-20060527032329-e4d063ed4fd1738b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 22:35:38 -0500
    message:
      Fix documentation bug in workingtree.list_files
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527032329-e4d063ed4fd1738b
    parent: john at arbash-meinel.com-20060527031107-6969266aa397354e
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 22:23:29 -0500
    message:
      revert 1735
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527031107-6969266aa397354e
    parent: john at arbash-meinel.com-20060527025405-bdc9f0cd95bfef08
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 22:11:07 -0500
    message:
      Adding a benchmark which checks 'bzr status' time after a commit.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527025405-bdc9f0cd95bfef08
    parent: john at arbash-meinel.com-20060527025339-3ec4a975728c5959
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 21:54:05 -0500
    message:
      use iter_entries instead of lots of id2path calls
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527025339-3ec4a975728c5959
    parent: john at arbash-meinel.com-20060527015440-1a10495d8e56ed5f
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 21:53:39 -0500
    message:
      just use os.path.lexists if it exists
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060527015440-1a10495d8e56ed5f
    parent: pqm at pqm.ubuntu.com-20060525225841-625f0ece2f64af43
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: minor-performance
    timestamp: Fri 2006-05-26 20:54:40 -0500
    message:
      deprecating appendpath, it does exactly what pathjoin does



More information about the bazaar-commits mailing list