Mercurial > hg
comparison tests/test-share.t @ 45301:dc283bc7e033
localrepo: abort creating a shared repo if the source does not have store
We cannot create a shared repository without a store IIUC. Let's abort in such
cases.
Differential Revision: https://phab.mercurial-scm.org/D8772
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 21 Jul 2020 18:21:27 +0530 |
parents | 69883775b27d |
children | d252f51ab032 |
comparison
equal
deleted
inserted
replaced
45300:dc457177dbc1 | 45301:dc283bc7e033 |
---|---|
250 | 250 |
251 Explicitly kill daemons to let the test exit on Windows | 251 Explicitly kill daemons to let the test exit on Windows |
252 | 252 |
253 $ killdaemons.py | 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] |