Rev 1912: (robertc, jam) tweak Transport.append and AtomicFile so put and append are cheaper in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Aug 10 07:14:24 BST 2006


------------------------------------------------------------
revno: 1912
revision-id: pqm at pqm.ubuntu.com-20060810061423-3ae5999a70b60211
parent: pqm at pqm.ubuntu.com-20060809170522-28c918e7d93365fe
parent: john at arbash-meinel.com-20060809161445-9693489735c328e6
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2006-08-10 07:14:23 +0100
message:
  (robertc,jam) tweak Transport.append and AtomicFile so put and append are cheaper
added:
  bzrlib/tests/test_atomicfile.py test_atomicfile.py-20060809005022-s7psq6himv0hpm3v-1
modified:
  bzrlib/atomicfile.py           atomicfile.py-20050509044450-dbd24e6c564f7c66
  bzrlib/benchmarks/bench_bench.py bench_bench.py-20060609084943-2lv2wsi61vhkmj7b-1
  bzrlib/commit.py               commit.py-20050511101309-79ec1a0168e0e825
  bzrlib/errors.py               errors.py-20050309040759-20512168c4e14fbd
  bzrlib/hashcache.py            hashcache.py-20050706091756-fe3a8cc1143ff24f
  bzrlib/osutils.py              osutils.py-20050309040759-eeaff12fbf77ac86
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/test_osutils.py   test_osutils.py-20051201224856-e48ee24c12182989
  bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/transport/local.py      local_transport.py-20050711165921-9b1f142bfe480c24
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809161445-9693489735c328e6
    parent: john at arbash-meinel.com-20060809155723-9147fe743c052b27
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Wed 2006-08-09 11:14:45 -0500
    message:
      hashcache.write() expected print >> to auto-buffer space between entries. That is pretty bogus anyway, so just fixing hashcache instead
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809155723-9147fe743c052b27
    parent: john at arbash-meinel.com-20060809151954-13ddcfbaedc571eb
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Wed 2006-08-09 10:57:23 -0500
    message:
      Test that AtomicFile.closed is supported, but deprecated
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809151954-13ddcfbaedc571eb
    parent: john at arbash-meinel.com-20060809151447-02e7a4ac00dc7eee
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Wed 2006-08-09 10:19:54 -0500
    message:
      Update the timing stats
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809151447-02e7a4ac00dc7eee
    parent: john at arbash-meinel.com-20060809150449-ad2f3d0aa07fd40e
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Wed 2006-08-09 10:14:47 -0500
    message:
      Make AtomicFile not do anything if not supplied a mode, clean up LocalTransport now that we do the right thing for None
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809150449-ad2f3d0aa07fd40e
    parent: john at arbash-meinel.com-20060809144327-d604af2edf646794
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Wed 2006-08-09 10:04:49 -0500
    message:
      Fix comments about why we do the things we do
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809144327-d604af2edf646794
    parent: john at arbash-meinel.com-20060809005042-818f9535c3fd5e7e
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Wed 2006-08-09 09:43:27 -0500
    message:
      Clean up and write tests for permissions. Now we use fstat which should be cheap, and lets us check the permissions and the file size
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060809005042-818f9535c3fd5e7e
    parent: john at arbash-meinel.com-20060808234844-602f87fbb7bbd2fe
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Tue 2006-08-08 19:50:42 -0500
    message:
      Add a test suite for Atomic File, and clean it up so that it really does set the mode properly.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060808234844-602f87fbb7bbd2fe
    parent: robertc at robertcollins.net-20060808231929-4e3e298190214b3a
    parent: pqm at pqm.ubuntu.com-20060808002438-4b8baf2d9282e154
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: reduce-chmod
    timestamp: Tue 2006-08-08 18:48:44 -0500
    message:
      [merge] bzr.dev 1910
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060808231929-4e3e298190214b3a
    parent: robertc at robertcollins.net-20060609190333-7aadb213bbaa16e2
    parent: pqm at pqm.ubuntu.com-20060725135859-f810b8a9929427a5
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: local-files-open-with-right-mode
    timestamp: Wed 2006-08-09 09:19:29 +1000
    message:
      current status
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060609190333-7aadb213bbaa16e2
    parent: robertc at robertcollins.net-20060609120435-1751c036051c74b4
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: add
    timestamp: Sat 2006-06-10 05:03:33 +1000
    message:
      allow None == 0666 for mode.
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060609120435-1751c036051c74b4
    parent: robertc at robertcollins.net-20060609110514-f384a18e6be3b4fa
    parent: robertc at robertcollins.net-20060609120104-369c7d3266413526
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: add
    timestamp: Fri 2006-06-09 22:04:35 +1000
    message:
      Merge integration.
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060609110514-f384a18e6be3b4fa
    parent: robertc at robertcollins.net-20060609091856-2f9fc48998d655a9
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: add
    timestamp: Fri 2006-06-09 21:05:14 +1000
    message:
      Tune the time to build our kernel_like tree : make LocalTransport.put faster, AtomicFile faster, LocalTransport.append faster.



More information about the bazaar-commits mailing list