# HG changeset patch # User Gregory Szorc <gregory.sz...@gmail.com> # Date 1498929871 25200 # Sat Jul 01 10:24:31 2017 -0700 # Node ID 1f1f1ed45ed8ee15c37080986022d9de1d7fbd05 # Parent 73fb571b44782b7bcb5142606b3ae69ec420341c 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'): _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel