[PATCH 1 of 6] blackbox: rewrite dirty documentation noting it is expensive

timeless timeless at mozdev.org
Tue Mar 1 06:51:43 EST 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1456829032 0
#      Tue Mar 01 10:43:52 2016 +0000
# Node ID 95ce1eb4af13e2eb8354a57737cef9778ca5a61d
# Parent  c7f89ad87baef87f00c507545dfd4cc824bc3131
blackbox: rewrite dirty documentation noting it is expensive

diff --git a/hgext/blackbox.py b/hgext/blackbox.py
--- a/hgext/blackbox.py
+++ b/hgext/blackbox.py
@@ -11,13 +11,12 @@
 Logs event information to .hg/blackbox.log to help debug and diagnose problems.
 The events that get logged can be configured via the blackbox.track config key.
 
-If you want to record whether the repository is dirty (a `+` sign, as you'd
-get when using :hg:`id`), you can set the blackbox.dirty config key.
-
 Examples::
 
   [blackbox]
   track = *
+  # dirty is *EXPENSIVE* (slow);
+  # each log entry indicates `+` if the repository is dirty, like :hg:`id`.
   dirty = True
 
   [blackbox]


More information about the Mercurial-devel mailing list