comparison tests/test-share.t @ 46334:4b0192f592cf

share: move share safe functionality out of experimental The share-safe functionality is complete and all configuration options are implemented. The behavior is well discussed on mailing list and in reviews. Let's unmark this as experimental to solve a chichen and egg issue. Differential Revision: https://phab.mercurial-scm.org/D9823
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 18 Jan 2021 19:16:49 +0530
parents 95a615dd77bf
children 8be95673eb8a
comparison
equal deleted inserted replaced
46333:2eb5fe13461b 46334:4b0192f592cf
1 #testcases safe normal 1 #testcases safe normal
2 2
3 #if safe 3 #if safe
4 $ echo "[format]" >> $HGRCPATH 4 $ echo "[format]" >> $HGRCPATH
5 $ echo "exp-share-safe = True" >> $HGRCPATH 5 $ echo "use-share-safe = True" >> $HGRCPATH
6 #endif 6 #endif
7 7
8 $ echo "[extensions]" >> $HGRCPATH 8 $ echo "[extensions]" >> $HGRCPATH
9 $ echo "share = " >> $HGRCPATH 9 $ echo "share = " >> $HGRCPATH
10 10
279 $ killdaemons.py 279 $ killdaemons.py
280 280
281 Test sharing a repository which was created with store requirement disable 281 Test sharing a repository which was created with store requirement disable
282 282
283 $ hg init nostore --config format.usestore=false 283 $ hg init nostore --config format.usestore=false
284 ignoring enabled 'format.exp-share-safe' config because it is incompatible with disabled 'format.usestore' config (safe !) 284 ignoring enabled 'format.use-share-safe' config because it is incompatible with disabled 'format.usestore' config (safe !)
285 $ hg share nostore sharednostore 285 $ hg share nostore sharednostore
286 abort: cannot create shared repository as source was created with 'format.usestore' config disabled 286 abort: cannot create shared repository as source was created with 'format.usestore' config disabled
287 [255] 287 [255]