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

login
register
mail settings
Submitter timeless@mozdev.org
Date March 1, 2016, 11:51 a.m.
Message ID <95ce1eb4af13e2eb8354.1456833103@waste.org>
Download mbox | patch
Permalink /patch/13496/
State Accepted
Headers show

Comments

timeless@mozdev.org - March 1, 2016, 11:51 a.m.
# HG changeset patch
# User timeless <timeless@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

Patch

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]