Mercurial > hg
comparison tests/test-narrow.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 | a31e9840178e |
children | e5c1e7aec973 |
comparison
equal
deleted
inserted
replaced
50644:89556caf3c66 | 50646:c814101560d9 |
---|---|
71 updating to branch default | 71 updating to branch default |
72 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 72 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
73 | 73 |
74 The "narrow" repo requirement is ignored by [debugupgraderepo] | 74 The "narrow" repo requirement is ignored by [debugupgraderepo] |
75 | 75 |
76 #if tree | |
77 $ (cd should-work; hg debugupgraderepo) | |
78 abort: cannot upgrade repository; unsupported source requirement: treemanifest | |
79 [255] | |
80 #else | |
81 $ (cd should-work; hg debugupgraderepo | grep 'no format upgrades found in existing repository') | 76 $ (cd should-work; hg debugupgraderepo | grep 'no format upgrades found in existing repository') |
82 (no format upgrades found in existing repository) | 77 (no format upgrades found in existing repository) |
83 #endif | |
84 | 78 |
85 Test repo with local changes | 79 Test repo with local changes |
86 $ hg clone --narrow ssh://user@dummy/master narrow-local-changes --include d0 --include d3 --include d6 | 80 $ hg clone --narrow ssh://user@dummy/master narrow-local-changes --include d0 --include d3 --include d6 |
87 requesting all changes | 81 requesting all changes |
88 adding changesets | 82 adding changesets |