Rev 2525: Fix one benchmark so it is actually writing data instead of a null block. in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/dirstate_pyrex

John Arbash Meinel john at arbash-meinel.com
Mon May 7 22:36:56 BST 2007


At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/dirstate_pyrex

------------------------------------------------------------
revno: 2525
revision-id: john at arbash-meinel.com-20070507213645-le9y48efqghhes86
parent: john at arbash-meinel.com-20070507213102-i2nuwkr0vfj8u98u
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dirstate_pyrex
timestamp: Mon 2007-05-07 16:36:45 -0500
message:
  Fix one benchmark so it is actually writing data instead of a null block.
modified:
  bzrlib/benchmarks/bench_dirstate.py bench_dirstate.py-20070503203500-gs0pz6zkvjpq9l2x-1
-------------- next part --------------
=== modified file 'bzrlib/benchmarks/bench_dirstate.py'
--- a/bzrlib/benchmarks/bench_dirstate.py	2007-05-07 21:31:02 +0000
+++ b/bzrlib/benchmarks/bench_dirstate.py	2007-05-07 21:36:45 +0000
@@ -158,7 +158,7 @@
         try:
             self.assertEqual(dirstate.DirState.NOT_IN_MEMORY,
                              state._dirblock_state)
-            state._read_header_if_needed()
+            state._read_dirblocks_if_needed()
             state._dirblock_state = dirstate.DirState.IN_MEMORY_MODIFIED
             self.time(state.save)
         finally:



More information about the bazaar-commits mailing list