diff --git a/mercurial/requirements.py b/mercurial/requirements.py --- a/mercurial/requirements.py +++ b/mercurial/requirements.py @@ -44,3 +44,8 @@ # The repository use persistent nodemap for the changelog and the manifest. NODEMAP_REQUIREMENT = b'persistent-nodemap' + +# List of requirements which are working directory specific +# These requirements cannot be shared between repositories if they +# share the same store +WORKING_DIR_REQUIREMENTS = {SPARSE_REQUIREMENT}