changeset 46600:36f3a64846c8

blackbox: Remove misleading quotes in config example This example previously looked like quotes were part of configuration file syntax, and the parsed `date-format` value was the part inside of them. This is not the case: config syntax only parses quotes in list values. Instead using that config would result in literal quotes being written to `.hg/blackbox.log` as part of the date format. This changes the example to what was probably intended. Differential Revision: https://phab.mercurial-scm.org/D10011
author Simon Sapin <simon.sapin@octobus.net>
date Wed, 17 Feb 2021 13:00:25 +0100
parents 1f55cd5b292f
children 755c31a1caf9
files hgext/blackbox.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/blackbox.py	Thu Feb 11 15:51:11 2021 +0100
+++ b/hgext/blackbox.py	Wed Feb 17 13:00:25 2021 +0100
@@ -38,7 +38,7 @@
   [blackbox]
   # Include nanoseconds in log entries with %f (see Python function
   # datetime.datetime.strftime)
-  date-format = '%Y-%m-%d @ %H:%M:%S.%f'
+  date-format = %Y-%m-%d @ %H:%M:%S.%f
 
 """