D1176: fsmonitor: declare missing config options

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Oct 18 20:58:03 UTC 2017


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

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:



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


More information about the Mercurial-devel mailing list