equal
deleted
inserted
replaced
482 |
482 |
483 $ hg log -GT "{node}: {desc}\n" -R ../ss-share |
483 $ hg log -GT "{node}: {desc}\n" -R ../ss-share |
484 abort: share source does not support exp-sharesafe requirement |
484 abort: share source does not support exp-sharesafe requirement |
485 [255] |
485 [255] |
486 |
486 |
|
487 Testing automatic downgrade of shares when config is set |
|
488 |
|
489 $ touch ../ss-share/.hg/wlock |
|
490 $ hg log -GT "{node}: {desc}\n" -R ../ss-share --config experimental.sharesafe-auto-downgrade-shares=true |
|
491 abort: failed to downgrade share, got error: Lock held |
|
492 [255] |
|
493 $ rm ../ss-share/.hg/wlock |
|
494 |
|
495 $ hg log -GT "{node}: {desc}\n" -R ../ss-share --config experimental.sharesafe-auto-downgrade-shares=true |
|
496 repository downgraded to not use share-safe mode |
|
497 @ f63db81e6dde1d9c78814167f77fb1fb49283f4f: added bar |
|
498 | |
|
499 o f3ba8b99bb6f897c87bbc1c07b75c6ddf43a4f77: added foo |
|
500 |
|
501 |
|
502 $ hg log -GT "{node}: {desc}\n" -R ../ss-share |
|
503 @ f63db81e6dde1d9c78814167f77fb1fb49283f4f: added bar |
|
504 | |
|
505 o f3ba8b99bb6f897c87bbc1c07b75c6ddf43a4f77: added foo |
|
506 |
|
507 |
487 |
508 |
488 Testing automatic upgrade of shares when config is set |
509 Testing automatic upgrade of shares when config is set |
489 |
510 |
490 $ hg debugupgraderepo -q --run --config format.exp-share-safe=True |
511 $ hg debugupgraderepo -q --run --config format.exp-share-safe=True |
491 upgrade will perform the following actions: |
512 upgrade will perform the following actions: |