Mercurial > hg
diff tests/test-bundle-r.t @ 46948:946db89607c8
bundle: support multiple destinations
`hg outgoing` and `hg push` now support multiple destination. We do the same
for `hg bundle`. Various other commands needs this kind of behavior and it
would be create to factor this code out for their usage. However this is an
adventure for another time.
They are some minor change to the tests (in addition to the new test for the
feature):
* one because I updated a message to plurals,
* another one because the error changed, and I actually find it clearer.
Differential Revision: https://phab.mercurial-scm.org/D10414
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 14 Apr 2021 17:02:20 +0200 |
parents | 6fc57680cfd6 |
children | 96ee8ca99f5a |
line wrap: on
line diff
--- a/tests/test-bundle-r.t Wed Apr 14 14:35:13 2021 +0200 +++ b/tests/test-bundle-r.t Wed Apr 14 17:02:20 2021 +0200 @@ -171,14 +171,15 @@ should fail $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg test-3 - abort: --base is incompatible with specifying a destination + abort: --base is incompatible with specifying destinations [10] $ hg -R test bundle -a -r tip test-bundle-branch1.hg test-3 - abort: --all is incompatible with specifying a destination + abort: --all is incompatible with specifying destinations [10] $ hg -R test bundle -r tip test-bundle-branch1.hg - abort: repository default-push not found - [255] + config error: default repository not configured! + (see 'hg help config.paths') + [30] $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg 2 changesets found