[Updated] D8924: requirements: introduce a set of working directory specific requirements

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Aug 11 01:14:31 UTC 2020


Closed by commit rHGbd56597b2254: requirements: introduce a set of working directory specific requirements (authored by pulkit).
This revision was automatically updated to reflect the committed changes.

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D8924?vs=22379&id=22389#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8924?vs=22379&id=22389

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8924/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8924

AFFECTED FILES
  mercurial/requirements.py

CHANGE DETAILS

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}



To: pulkit, #hg-reviewers, indygreg
Cc: indygreg, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200811/02973da6/attachment-0002.html>


More information about the Mercurial-patches mailing list