Submitter | Gregory Szorc |
---|---|
Date | July 6, 2017, 7:36 p.m. |
Message ID | <1f1f1ed45ed8ee15c370.1499369789@ubuntu-vm-main> |
Download | mbox | patch |
Permalink | /patch/22031/ |
State | Accepted |
Headers | show |
Comments
Patch
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'):