This is an archive of the discontinued Mercurial Phabricator instance.

watchman: detect nested mercurial repositories and abort
ClosedPublic

Authored by lothiraldan on Jan 15 2019, 11:57 AM.

Details

Summary

Disable fsmonitor on nested mercurial repositories. Only depth one
repositories are detected at the moment.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

lothiraldan created this revision.Jan 15 2019, 11:57 AM
indygreg accepted this revision.Jan 16 2019, 2:44 PM
indygreg added a subscriber: indygreg.
indygreg added inline comments.
hgext/fsmonitor/__init__.py
748–750

Nit: we should be using repo.vfs.listdir() here, as all I/O should be abstracted via VFS layer. But I think this is fine (we make this violation in many other places).

This revision is now accepted and ready to land.Jan 16 2019, 2:44 PM
This revision was automatically updated to reflect the committed changes.