tests/test-share-safe.t
changeset 48695 e845537f6adb
parent 48487 62e6222cc5b6
parent 48360 f7086f6173f8
child 48779 17eaeb06562c
equal deleted inserted replaced
48694:576040155dba 48695:e845537f6adb
   223   $ hg debugupgraderepo --run -q
   223   $ hg debugupgraderepo --run -q
   224   upgrade will perform the following actions:
   224   upgrade will perform the following actions:
   225   
   225   
   226   requirements
   226   requirements
   227      preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-dirstate-v2 !)
   227      preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-dirstate-v2 !)
   228      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (dirstate-v2 !)
   228      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (dirstate-v2 !)
   229      added: revlog-compression-zstd
   229      added: revlog-compression-zstd
   230   
   230   
   231   processed revlogs:
   231   processed revlogs:
   232     - all-filelogs
   232     - all-filelogs
   233     - changelog
   233     - changelog
   251   upgrade will perform the following actions:
   251   upgrade will perform the following actions:
   252   
   252   
   253   requirements
   253   requirements
   254      preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !)
   254      preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !)
   255      preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !)
   255      preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !)
   256      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd dirstate-v2 !)
   256      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd dirstate-v2 !)
   257      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !)
   257      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !)
   258      added: persistent-nodemap
   258      added: persistent-nodemap
   259   
   259   
   260   processed revlogs:
   260   processed revlogs:
   261     - all-filelogs
   261     - all-filelogs
   262     - changelog
   262     - changelog
   358 Upgrade
   358 Upgrade
   359 
   359 
   360   $ hg debugupgraderepo -q
   360   $ hg debugupgraderepo -q
   361   requirements
   361   requirements
   362      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   362      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   363      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   363      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   364      added: share-safe
   364      added: share-safe
   365   
   365   
   366   no revlogs to process
   366   no revlogs to process
   367   
   367   
   368   $ hg debugupgraderepo --run
   368   $ hg debugupgraderepo --run
   369   upgrade will perform the following actions:
   369   upgrade will perform the following actions:
   370   
   370   
   371   requirements
   371   requirements
   372      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   372      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   373      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   373      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   374      added: share-safe
   374      added: share-safe
   375   
   375   
   376   share-safe
   376   share-safe
   377      Upgrades a repository to share-safe format so that future shares of this repository share its requirements and configs.
   377      Upgrades a repository to share-safe format so that future shares of this repository share its requirements and configs.
   378   
   378   
   446   > EOF
   446   > EOF
   447 
   447 
   448   $ hg debugupgraderepo -q
   448   $ hg debugupgraderepo -q
   449   requirements
   449   requirements
   450      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   450      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   451      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   451      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   452      removed: share-safe
   452      removed: share-safe
   453   
   453   
   454   no revlogs to process
   454   no revlogs to process
   455   
   455   
   456   $ hg debugupgraderepo --run
   456   $ hg debugupgraderepo --run
   457   upgrade will perform the following actions:
   457   upgrade will perform the following actions:
   458   
   458   
   459   requirements
   459   requirements
   460      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   460      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   461      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   461      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   462      removed: share-safe
   462      removed: share-safe
   463   
   463   
   464   no revlogs to process
   464   no revlogs to process
   465   
   465   
   466   beginning upgrade...
   466   beginning upgrade...
   539   $ hg debugupgraderepo -q --run --config format.use-share-safe=True
   539   $ hg debugupgraderepo -q --run --config format.use-share-safe=True
   540   upgrade will perform the following actions:
   540   upgrade will perform the following actions:
   541   
   541   
   542   requirements
   542   requirements
   543      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   543      preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !)
   544      preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   544      preserved: dotencode, use-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !)
   545      added: share-safe
   545      added: share-safe
   546   
   546   
   547   no revlogs to process
   547   no revlogs to process
   548   
   548   
   549   repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode.
   549   repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode.