At http://people.ubuntu.com/~robertc/baz2.0/plugins/compressbench/trunk

------------------------------------------------------------
revno: 3
revision-id: [email protected]
parent: [email protected]
committer: Robert Collins <[email protected]>
branch nick: trunk
timestamp: Tue 2009-01-20 14:18:51 +1100
message:
  Actually increment the serial number in the corpus - fixes major bug in 
compression measurement.
=== modified file 'bench.py'
--- a/bench.py  2009-01-19 05:46:11 +0000
+++ b/bench.py  2009-01-20 03:18:51 +0000
@@ -205,6 +205,7 @@
                         record.key, record.parents, record.sha1,
                         "%s/%s" % (workingdir, serial)))
                     total_bytes += len(bytes)
+                    serial += 1
             finally:
                 repo.unlock()
         except:


-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to