diff hgext/fsmonitor/__init__.py @ 41676:0531dff73d0b

match: delete unused root and cwd arguments from {always,never,exact}() (API) Differential Revision: https://phab.mercurial-scm.org/D5930
author Martin von Zweigbergk <martinvonz@google.com>
date Sat, 09 Feb 2019 22:50:53 -0800
parents 286eeed14893
children 57264906a996
line wrap: on
line diff
--- a/hgext/fsmonitor/__init__.py	Sun Feb 10 14:35:36 2019 -0800
+++ b/hgext/fsmonitor/__init__.py	Sat Feb 09 22:50:53 2019 -0800
@@ -476,7 +476,7 @@
 
     working = ctx2.rev() is None
     parentworking = working and ctx1 == self['.']
-    match = match or matchmod.always(self.root, self.getcwd())
+    match = match or matchmod.always()
 
     # Maybe we can use this opportunity to update Watchman's state.
     # Mercurial uses workingcommitctx and/or memctx to represent the part of