Rev 3: Actually increment the serial number in the corpus - fixes major bug in compression measurement. in http://people.ubuntu.com/~robertc/baz2.0/plugins/compressbench/trunk
Robert Collins
robertc at robertcollins.net
Tue Jan 20 03:19:00 GMT 2009
At http://people.ubuntu.com/~robertc/baz2.0/plugins/compressbench/trunk
------------------------------------------------------------
revno: 3
revision-id: robertc at robertcollins.net-20090120031851-18uikjx9ylg1xt6j
parent: robertc at robertcollins.net-20090119054611-hy6zmi2nbfd1uw3c
committer: Robert Collins <robertc at robertcollins.net>
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:
More information about the bazaar-commits
mailing list