diff tests/test-obsolete.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 1a09dad8b85a
line wrap: on
line diff
--- a/tests/test-obsolete.t	Fri Jan 12 11:15:41 2018 +0000
+++ b/tests/test-obsolete.t	Fri Jan 05 22:28:06 2018 +0530
@@ -1333,6 +1333,7 @@
   $ echo "hello" > b
   $ hg commit --amend -m "message"
   $ hg book bookb -r 13bedc178fce --hidden
+  bookmarking hidden changeset 13bedc178fce
   $ hg log -r 13bedc178fce
   4:13bedc178fce (draft *obsolete*) [ bookb] add b [rewritten using amend as 5:a9b1f8652753]
   $ hg book -d bookb