Mercurial > public > mercurial-scm > hg
diff tests/test-directaccess.t @ 35611:7336ac5e786e
bookmarks: add bookmarks to hidden revs if directaccess config is set
This patch adds support to add bookmarks to hidden revs if
`experimental.directaccessi=True` config is set. A warning is also printed
saying "accessing hidden changeset <revhash>".
Differential Revision: https://phab.mercurial-scm.org/D1813
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 05 Jan 2018 22:28:06 +0530 |
parents | 265cd9e19d26 |
children | e29823c6d3e8 |
line wrap: on
line diff
--- a/tests/test-directaccess.t Fri Jan 12 11:15:41 2018 +0000 +++ b/tests/test-directaccess.t Fri Jan 05 22:28:06 2018 +0530 @@ -186,3 +186,11 @@ abort: hidden revision '2' was rewritten as: 2443a0e66469! (use --hidden to access hidden revisions) [255] + +Setting a bookmark will make that changeset unhidden, so this should come in end + + $ hg bookmarks -r 28ad74 book + bookmarking hidden changeset 28ad74487de9 + + $ hg bookmarks + book 2:28ad74487de9