Patchwork D1176: fsmonitor: declare missing config options

login
register
mail settings
Submitter phabricator
Date Oct. 18, 2017, 8:58 p.m.
Message ID <differential-rev-PHID-DREV-robnozuphbw4ubxvtaj4-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25208/
State Superseded
Headers show

Comments

phabricator - Oct. 18, 2017, 8:58 p.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  These were added in https://phab.mercurial-scm.org/rHG4aa57627692a267d97519bb8e5150ff9868ffc8d. Attempting to run the test harness
  with fsmonitor enabled spews a whole bunch of devel warnings due to
  these options not be declared.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1176

AFFECTED FILES
  hgext/fsmonitor/__init__.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/fsmonitor/__init__.py b/hgext/fsmonitor/__init__.py
--- a/hgext/fsmonitor/__init__.py
+++ b/hgext/fsmonitor/__init__.py
@@ -146,6 +146,12 @@ 
 configitem('fsmonitor', 'blacklistusers',
     default=list,
 )
+configitem('experimental', 'fsmonitor.transaction_notify',
+    default=False,
+)
+configitem('experimental', 'fsmonitor.wc_change_notify',
+    default=False,
+)
 
 # This extension is incompatible with the following blacklisted extensions
 # and will disable itself when encountering one of these: