-----------------------------------------------------------------
Revision: faba95f94a927521232b2e9510f7787f7ef0a0d5
Ancestor: f9feab999fc5100d1093e6b4bdd50677347f4638
Author: [email protected]
Date: 12/23/09 01:46:24
Branch: net.venge.monotone
Modified files:
sha1.cc
ChangeLog:
Only use Botan's benchmark calls on 1.7.23 or later; on 1.7.22, instead
use the old benchmark code that is used for older 1.7 and also 1.6. This
avoids certain compat problems with later releases; the Timer class is
actually pure virtual in versions after 1.7.22 (just got lucky because
on Unix and Windows it wasn't used), and the Win32_Timer class should
really not be used for benchmarking because it uses QueryPerformanceCounter,
which returns a time value with a more or less random resolution (maybe
the CPU clock speed, maybe the PIT counter resolution, maybe something
else entirely).
Also add checks to deal with versions >=1.9.4, where the timer argument
is removed.
monotone --db={your.database} diff
--revision=f9feab999fc5100d1093e6b4bdd50677347f4638
--revision=faba95f94a927521232b2e9510f7787f7ef0a0d5
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs