changeset 45301 | dc283bc7e033 |
parent 45300 | dc457177dbc1 |
child 45353 | 665e911563da |
--- a/mercurial/localrepo.py Tue Jul 21 13:58:58 2020 +0530 +++ b/mercurial/localrepo.py Tue Jul 21 18:21:27 2020 +0530 @@ -3334,6 +3334,14 @@ ) dropped.add(bookmarks.BOOKMARKS_IN_STORE_REQUIREMENT) + if b'shared' in requirements or b'relshared' in requirements: + raise error.Abort( + _( + b"cannot create shared repository as source was created" + b" with 'format.usestore' config disabled" + ) + ) + return dropped