Patchwork D6413: help: document new "bookmarksinstore" requirement in internals.requirements

login
register
mail settings
Submitter phabricator
Date May 20, 2019, 11:16 p.m.
Message ID <differential-rev-PHID-DREV-aarnu5tnk5dzna2xdgq5-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/40161/
State Superseded
Headers show

Comments

phabricator - May 20, 2019, 11:16 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6413

AFFECTED FILES
  mercurial/help/internals/requirements.txt

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/help/internals/requirements.txt b/mercurial/help/internals/requirements.txt
--- a/mercurial/help/internals/requirements.txt
+++ b/mercurial/help/internals/requirements.txt
@@ -129,3 +129,16 @@ 
 disappear in a future Mercurial release. The requirement will only
 be present on repositories that have opted in to a sparse working
 directory.
+
+bookmarksinstore
+==================
+
+Bookmarks are stored in ``.hg/store/`` instead of directly in ``.hg/``
+where they used to be stored. The active bookmark is still stored
+directly in ``.hg/``. This makes them always shared by ``hg share``,
+whether or not ``-B`` was passed.
+
+Support for this requirement was added in Mercurial 5.1 (released
+August 2019). The requirement will only be present on repositories
+that have opted in to this format (by having
+``format.bookmarks-in-store=true`` set when they were created).