Show More
@@ -3334,6 +3334,14 b' def checkrequirementscompat(ui, requirem' | |||
|
3334 | 3334 | ) |
|
3335 | 3335 | dropped.add(bookmarks.BOOKMARKS_IN_STORE_REQUIREMENT) |
|
3336 | 3336 | |
|
3337 | if b'shared' in requirements or b'relshared' in requirements: | |
|
3338 | raise error.Abort( | |
|
3339 | _( | |
|
3340 | b"cannot create shared repository as source was created" | |
|
3341 | b" with 'format.usestore' config disabled" | |
|
3342 | ) | |
|
3343 | ) | |
|
3344 | ||
|
3337 | 3345 | return dropped |
|
3338 | 3346 | |
|
3339 | 3347 |
@@ -252,3 +252,9 b' Explicitly kill daemons to let the test ' | |||
|
252 | 252 | |
|
253 | 253 | $ killdaemons.py |
|
254 | 254 | |
|
255 | Test sharing a repository which was created with store requirement disable | |
|
256 | ||
|
257 | $ hg init nostore --config format.usestore=false | |
|
258 | $ hg share nostore sharednostore | |
|
259 | abort: cannot create shared repository as source was created with 'format.usestore' config disabled | |
|
260 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now