Mercurial > public > mercurial-scm > hg-stable
diff mercurial/upgrade.py @ 45406:034d94f8761b
requirements: introduce constants for `shared` and `relshared` requirements
We add them to `WORKING_DIR_REQUIREMENTS` too as they should be stored in
`.hg/requires` and have information about the type of working copy.
Differential Revision: https://phab.mercurial-scm.org/D8926
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 11 Aug 2020 13:43:43 +0530 |
parents | d7dcc75a3eae |
children | 78f0bb37f52d |
line wrap: on
line diff
--- a/mercurial/upgrade.py Mon Aug 10 15:47:21 2020 +0530 +++ b/mercurial/upgrade.py Tue Aug 11 13:43:43 2020 +0530 @@ -64,7 +64,7 @@ # It should (hopefully) not exist in the wild. b'parentdelta', # Upgrade should operate on the actual store, not the shared link. - b'shared', + requirements.SHARED_REQUIREMENT, }