Mercurial > hg-stable
comparison tests/test-share-safe.t @ 48779:17eaeb06562c
upgrade: prepare code (and output) for the idea of upgrading share
This would work for a subset of action only. Our first target is dirstate-v2.
Differential Revision: https://phab.mercurial-scm.org/D12196
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 15 Feb 2022 23:09:07 +0100 |
parents | e845537f6adb |
children | e4b31016e194 |
comparison
equal
deleted
inserted
replaced
48778:c4149a110b5f | 48779:17eaeb06562c |
---|---|
242 #endif | 242 #endif |
243 $ echo "[format]" >> .hg/hgrc | 243 $ echo "[format]" >> .hg/hgrc |
244 $ echo "use-persistent-nodemap=True" >> .hg/hgrc | 244 $ echo "use-persistent-nodemap=True" >> .hg/hgrc |
245 | 245 |
246 $ hg debugupgraderepo --run -q -R ../shared1 | 246 $ hg debugupgraderepo --run -q -R ../shared1 |
247 abort: cannot upgrade repository; unsupported source requirement: shared | 247 abort: cannot use these actions on a share repository: persistent-nodemap |
248 (upgrade the main repository directly) | |
248 [255] | 249 [255] |
249 | 250 |
250 $ hg debugupgraderepo --run -q | 251 $ hg debugupgraderepo --run -q |
251 upgrade will perform the following actions: | 252 upgrade will perform the following actions: |
252 | 253 |