Rev 1856: (mbp) hashcache fixes in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Jul 12 11:09:28 BST 2006


------------------------------------------------------------
revno: 1856
revision-id: pqm at pqm.ubuntu.com-20060712100927-6af9cbe9c9e6af3b
parent: pqm at pqm.ubuntu.com-20060712032241-2352b3ef35093aa1
parent: mbp at sourcefrog.net-20060712052248-789ab09214cf9fef
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2006-07-12 11:09:27 +0100
message:
  (mbp) hashcache fixes
modified:
  bzrlib/hashcache.py            hashcache.py-20050706091756-fe3a8cc1143ff24f
  bzrlib/tests/test_hashcache.py testhashcache.py-20050706091800-0288ab2659338981
  bzrlib/tests/workingtree_implementations/test_workingtree.py test_workingtree.py-20060203003124-817757d3e31444fb
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20060712052248-789ab09214cf9fef
    parent: mbp at sourcefrog.net-20060709062838-e0482875c25a202f
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: bzr.mbp.hashcache
    timestamp: Wed 2006-07-12 15:22:48 +1000
    message:
            Improvements to hashcache testing:
            
             - moves the functions that depend on the OS state into HashCache
             - removes dead 'FixThisError' (??) from test_hashcache
             - adds new FakeHashCache, which gives the test suite control of
               how the files and clock appear to the hashcache
             - new tests using this which check three key behaviours:
               - new files are not inserted in the cache
               - old files are inserted in the cache and can hit
               - if a file is modified within a short time window, we don't get
                 an incorrect cached result
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20060709062838-e0482875c25a202f
    parent: mbp at sourcefrog.net-20060709034316-fa45900c76d1df39
    committer: mbp at sourcefrog.net
    branch nick: bzr.mbp.hashcache
    timestamp: Sun 2006-07-09 07:28:38 +0100
    message:
      Use larger time window on hashcache to be safe with fractional times
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20060709034316-fa45900c76d1df39
    parent: pqm at pqm.ubuntu.com-20060708044058-a64fc46ea66545cb
    committer: mbp at sourcefrog.net
    branch nick: bzr.mbp.hashcache
    timestamp: Sun 2006-07-09 03:43:16 +0000
    message:
      Refactor and improve hashcache tests



More information about the bazaar-commits mailing list