monotone-commits-nodiffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-nodiffs] Revision a6e585755b93a0910cca494cd82d06033366


From: monotone
Subject: [Monotone-commits-nodiffs] Revision a6e585755b93a0910cca494cd82d060333660ab5
Date: Sat, 22 Mar 2008 22:05:51 +0100

-----------------------------------------------------------------
Revision: a6e585755b93a0910cca494cd82d060333660ab5
Ancestor: 0128ca5c79725799e890651d63eeb09a6d646734
Author: address@hidden
Date: 2008-03-22T19:31:16
Branch: net.venge.monotone

Modified files:
        database.cc globish.cc restrictions.cc sanity.cc sanity.hh

ChangeLog: 

 * sanity.hh: made L(), W() and P() conditional, i.e. the MACRO itself now
   prevents rendering of the format string, if not needed. While this
   didn't result in a significant performance gain, it's nice not to have
   to repeate the condition all over the places. And it might help
   nvm.experiment.db-compaction quite a bit.

 * sanity.cc: sanity::log(), sanity::progress() and sanity::warning()
   may now only be called after checking the proper flags, i.e. debug,
   quiet or reallyquiet, otherwise these methods should not be invoked.
   Added checks for sanity being initialized to: debug_p(), quiet_p()
   reallyquiet_p(), error_failure(), invariant_failure() and
   index_failure().

 * globish.cc, restrictions.cc: removed some of these checks for
   global_sanity.debug_p(), before calling L(FL(...

 * database.cc: removed yet another such check, simplified the logging
   for parameter bindings.


monotone --db={your.database} diff 
--revision=0128ca5c79725799e890651d63eeb09a6d646734 
--revision=a6e585755b93a0910cca494cd82d060333660ab5
----------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]