Show More
@@ -94,6 +94,9 b' def allowednewrequirements(repo):' | |||||
94 | 'generaldelta', |
|
94 | 'generaldelta', | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
|
97 | def preservedrequirements(repo): | |||
|
98 | return set() | |||
|
99 | ||||
97 | deficiency = 'deficiency' |
|
100 | deficiency = 'deficiency' | |
98 | optimisation = 'optimization' |
|
101 | optimisation = 'optimization' | |
99 |
|
102 | |||
@@ -679,6 +682,7 b' def upgraderepo(ui, repo, run=False, opt' | |||||
679 | # FUTURE there is potentially a need to control the wanted requirements via |
|
682 | # FUTURE there is potentially a need to control the wanted requirements via | |
680 | # command arguments or via an extension hook point. |
|
683 | # command arguments or via an extension hook point. | |
681 | newreqs = localrepo.newreporequirements(repo) |
|
684 | newreqs = localrepo.newreporequirements(repo) | |
|
685 | newreqs.update(preservedrequirements(repo)) | |||
682 |
|
686 | |||
683 | noremovereqs = (repo.requirements - newreqs - |
|
687 | noremovereqs = (repo.requirements - newreqs - | |
684 | supportremovedrequirements(repo)) |
|
688 | supportremovedrequirements(repo)) |
General Comments 0
You need to be logged in to leave comments.
Login now