comparison tests/test-upgrade-repo.t @ 50646:c814101560d9

tree-manifest: allow `debugupgraderepo` to run on tree manifest repo There does not seems to be anything wrong with running the current logic on them. So we remove the limitation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 31 May 2023 18:08:56 +0100
parents 63dc24be635d
children
comparison
equal deleted inserted replaced
50644:89556caf3c66 50646:c814101560d9
190 user: debugbuilddag 190 user: debugbuilddag
191 date: Thu Jan 01 00:00:07 1970 +0000 191 date: Thu Jan 01 00:00:07 1970 +0000
192 summary: r7 192 summary: r7
193 193
194 194
195 Do not yet support upgrading treemanifest repos 195 Do not yet support downgrading treemanifest repos
196 196
197 $ hg --config experimental.treemanifest=true init treemanifest 197 $ hg --config experimental.treemanifest=true init treemanifest
198 $ hg -R treemanifest debugupgraderepo 198 $ hg -R treemanifest debugupgraderepo
199 abort: cannot upgrade repository; unsupported source requirement: treemanifest 199 abort: cannot upgrade repository; requirement would be removed: treemanifest
200 [255] 200 [255]
201 201
202 Cannot add treemanifest requirement during upgrade 202 Cannot add treemanifest requirement during upgrade
203 203
204 $ hg init disallowaddedreq 204 $ hg init disallowaddedreq