Submitter | phabricator |
---|---|
Date | July 21, 2020, 1:42 p.m. |
Message ID | <differential-rev-PHID-DREV-egjm3n6agbiyaz3p4dzp-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/46816/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -3663,6 +3663,13 @@ ) 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 does not have 'store' requirement" + ) + ) + return dropped