Mercurial > hg
diff tests/test-bookmarks-pushpull.t @ 48244:b56858d85a7b
bookmarks: add a `ignore` variant of the bookmark mode
This new mode allow to disable bookmark exchange with some path (or all path).
Differential Revision: https://phab.mercurial-scm.org/D11677
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 15 Oct 2021 04:41:24 +0200 |
parents | 76c071bba40d |
children | 8c4881c07f57 |
line wrap: on
line diff
--- a/tests/test-bookmarks-pushpull.t Fri Oct 15 04:25:58 2021 +0200 +++ b/tests/test-bookmarks-pushpull.t Fri Oct 15 04:41:24 2021 +0200 @@ -523,6 +523,21 @@ X@foo 000000000000 removed foo 000000000000 removed foobar 000000000000 removed + $ hg incoming --bookmark -v ../a --config 'paths.*:bookmarks.mode=ignore' + comparing with ../a + bookmarks exchange disabled with this path + $ hg pull ../a --config 'paths.*:bookmarks.mode=ignore' + pulling from ../a + searching for changes + no changes found + $ hg book + @ 1:9b140be10808 + @foo 2:0d2164f0ce0d + X@foo 2:0d2164f0ce0d + Y 0:4e3505fd9583 + Z 2:0d2164f0ce0d + foo -1:000000000000 + * foobar 1:9b140be10808 $ hg pull ../a --config 'paths.*:bookmarks.mode=mirror' pulling from ../a searching for changes