mercurial/requirements.py
changeset 48601 baddab229b86
parent 48599 dfbfa802876b
child 48602 66b59fbb0cdd
equal deleted inserted replaced
48600:d9017df70135 48601:baddab229b86
    87     SHARED_REQUIREMENT,
    87     SHARED_REQUIREMENT,
    88     RELATIVE_SHARED_REQUIREMENT,
    88     RELATIVE_SHARED_REQUIREMENT,
    89     SHARESAFE_REQUIREMENT,
    89     SHARESAFE_REQUIREMENT,
    90     DIRSTATE_V2_REQUIREMENT,
    90     DIRSTATE_V2_REQUIREMENT,
    91 }
    91 }
       
    92 
       
    93 # List of requirement that impact "stream-clone" (and hardlink clone) and
       
    94 # cannot be changed in such cases.
       
    95 #
       
    96 # requirements not in this list are safe to be altered during stream-clone.
       
    97 #
       
    98 # note: the list is currently inherited from previous code and miss some relevant requirement while containing some irrelevant ones.
       
    99 STREAM_FIXED_REQUIREMENTS = {
       
   100     BOOKMARKS_IN_STORE_REQUIREMENT,
       
   101     CHANGELOGV2_REQUIREMENT,
       
   102     COPIESSDC_REQUIREMENT,
       
   103     DIRSTATE_V2_REQUIREMENT,
       
   104     GENERALDELTA_REQUIREMENT,
       
   105     NODEMAP_REQUIREMENT,
       
   106     REVLOGV1_REQUIREMENT,
       
   107     REVLOGV2_REQUIREMENT,
       
   108     SHARESAFE_REQUIREMENT,
       
   109     SPARSEREVLOG_REQUIREMENT,
       
   110     TREEMANIFEST_REQUIREMENT,
       
   111 }