# HG changeset patch # User Gregory Szorc # Date 2017-07-01 17:24:31 # Node ID 74923cec6fdbceca769118d554a9fd7da37053b8 # Parent cd1c275c94825ca67188075b0de0a61a32d54068 sparse: remove reference to hgwatchman This is a legacy extension. Now that the extension is in core, we only need to support what's in core, which is fsmonitor. diff --git a/hgext/sparse.py b/hgext/sparse.py --- a/hgext/sparse.py +++ b/hgext/sparse.py @@ -68,14 +68,6 @@ def extsetup(ui): extensions.wrapfunction(fsmonitor, '_hashignore', _hashignore) except KeyError: pass - # do the same for hgwatchman, old name - try: - hgwatchman = extensions.find('hgwatchman') - def _hashignore(orig, ignore): - return _hashmatcher(ignore) - extensions.wrapfunction(hgwatchman, '_hashignore', _hashignore) - except KeyError: - pass def reposetup(ui, repo): if not util.safehasattr(repo, 'dirstate'):