Submitter | phabricator |
---|---|
Date | Jan. 12, 2022, 2:11 p.m. |
Message ID | <differential-rev-PHID-DREV-cjhfxvtfjrjckyumfj6e-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50321/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -3550,6 +3550,10 @@ depends on the configuration """ target_requirements = set() + if not srcrepo.requirements: + # this is a legacy revlog "v0" repository, we cannot do anything fancy + # with it. + return target_requirements createopts = defaultcreateopts(ui, createopts=createopts) for r in newreporequirements(ui, createopts): if r in requirementsmod.WORKING_DIR_REQUIREMENTS: