Mercurial > hg
annotate tests/helper-runtests.sh @ 42325:526750cdd02d
bookmarks: keep bookmarks in .hg/store if new config set
Bookmarks storage consists of two parts: (1) the set of bookmarks and
their positions, and (2) the current bookmark. The former can get
updated by exchange, while the latter cannot. However, they are both
stored in directly .hg/ and protected by repo.wlock(). As a result,
ugly workarounds were needed. This patch introduces a new config
option to store the set of bookmarks and their positions in .hg/store/
but still storing the current bookmark directory in .hg/. The config
option only takes effect at repo creation time. It results in a new
requirement being set.
Differential Revision: https://phab.mercurial-scm.org/D6387
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 15 May 2019 22:09:02 -0700 |
parents | 054bcdad6042 |
children |
rev | line source |
---|---|
29220
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
1 # |
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
2 # Avoid interference from actual test env: |
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
3 |
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
4 unset HGTEST_JOBS |
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
5 unset HGTEST_TIMEOUT |
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
6 unset HGTEST_PORT |
054bcdad6042
tests: refactor run-tests helpers
timeless <timeless@mozdev.org>
parents:
diff
changeset
|
7 unset HGTEST_SHELL |