Mercurial > hg-stable
comparison tests/test-lfs-serve.t @ 44741:c36a3fcfc36b stable
upgrade: properly filter action depending on planned work
The `determineactions` function filters out deficiency that are not scheduled to
be fixed by the target repository configuration. However it only did so for
requirement we currently support, letting other actions for unsupported
requirement through even if the target repo configuration did not request it.
As a result the output of the command was easily polluted by experimental
feature with no upgrade support.
We rework the code to still filter out requirement based action without the
faulty filtering.
Differential Revision: https://phab.mercurial-scm.org/D8427
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Apr 2020 18:10:19 +0200 |
parents | 87167caa2989 |
children | e295ba238bd8 |
comparison
equal
deleted
inserted
replaced
44740:b4537125eb3c | 44741:c36a3fcfc36b |
---|---|
130 *** runcommand debugupgraderepo -q --run | 130 *** runcommand debugupgraderepo -q --run |
131 upgrade will perform the following actions: | 131 upgrade will perform the following actions: |
132 | 132 |
133 requirements | 133 requirements |
134 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | 134 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
135 | |
136 sidedata | |
137 Allows storage of extra data alongside a revision. | |
138 | |
139 copies-sdc | |
140 Allows to use more efficient algorithm to deal with copy tracing. | |
141 | 135 |
142 beginning upgrade... | 136 beginning upgrade... |
143 repository locked and read-only | 137 repository locked and read-only |
144 creating temporary repository to stage migrated data: * (glob) | 138 creating temporary repository to stage migrated data: * (glob) |
145 (it is safe to interrupt this process any time before data migration completes) | 139 (it is safe to interrupt this process any time before data migration completes) |