Mercurial > evolve
annotate MANIFEST.in @ 5777:c5dfbbe4363d
evolve: when relocating, optionally first try to do it using in-memory merge
This patch adds a config option to let run evolve's relocation step
using in-memory merge. It is disabled by default. When the option is
on, the relocation is first attempted in memory. If that fails because
of merge conflicts, it retries that commit in the working copy.
There are a few reasons that I made it configurable. The most
important one is that the precommit hook won't trigger when using
in-memory merge. Another reason is that it lets us roll out the
feature slowly to our users at Google.
For now, we also update the working copy after creating the commit (in the
successful case, when there are no merge conflicts). The next patch will make it
so we don't do that update.
Because of the unnecessary working-copy update, this patch doesn't
provide any benefit on its own. Evolving 29 commits that each change
one line in the hg slows down from ~4.5s to ~4.8s when the config
option is on.
I've added `#testcases inmemory ondisk` to select `.t` files. Almost
all differences are because of the new "hit merge conflicts" message
and retrying the merge. There's also one difference in
`test-stabilize-order.t` caused by the different order of working copy
updates (we now update the working copy at the end).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 15 Oct 2020 15:40:36 -0700 |
parents | fa2fc0cad459 |
children | 7f95546f584e dd518437d4e0 |
rev | line source |
---|---|
5130
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
1 include CHANGELOG |
1770
be85d7ce8536
Manifest.in: sort entry
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1062
diff
changeset
|
2 include COPYING |
3033
13751fef5e66
topics: move README-topic as hgext3rd/topic/README
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3032
diff
changeset
|
3 include hgext3rd/topic/README |
1775
a37ef09e27b1
Manifest.in: include Manifest.in
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1774
diff
changeset
|
4 include MANIFEST.in |
5404
9e0f91cb5242
evolve: the rest of b3e178f3e31f
Anton Shestakov <av6@dwimlabs.net>
parents:
5393
diff
changeset
|
5 include README.rst |
524
ba0a3d0f942f
pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
6 include setup.py |
5770
7d5d9301c244
manifest: include all .py files from hgext3rd
Anton Shestakov <av6@dwimlabs.net>
parents:
5404
diff
changeset
|
7 recursive-include hgext3rd *.py |
5246
57ae9af43e6b
manifest: just include all .py .sh and .t files from tests/ recursively
Anton Shestakov <av6@dwimlabs.net>
parents:
5245
diff
changeset
|
8 recursive-include tests *.py *.sh *.t |
5130
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
9 |
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
10 include docs/makefile |
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
11 include docs/*.py |
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
12 include docs/README |
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
13 include docs/*.rst |
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
14 include docs/static/*.svg |
40ae7c5b3b17
packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5129
diff
changeset
|
15 include docs/tutorials/*.t |
3383
733e01473ec2
packaging: update MANIFEST.in to include new tutorial files
Boris Feld <boris.feld@octobus.net>
parents:
3033
diff
changeset
|
16 include docs/tutorial/standalone.html |
5129
b7048f3e1847
packaging: simplify inclusion of docs in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5128
diff
changeset
|
17 recursive-include docs/figures *.svg *.png |
b7048f3e1847
packaging: simplify inclusion of docs in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents:
5128
diff
changeset
|
18 recursive-include docs/tutorial *.css *.js *.md *.py *.rst *.sh *.t |
5245
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
19 |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
20 exclude docs/tutorial/.netlify |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
21 exclude .gitlab-ci.yml |
5771
fa2fc0cad459
manifest: use a regular relative path for excluding legacy.py
Anton Shestakov <av6@dwimlabs.net>
parents:
5770
diff
changeset
|
22 exclude hgext3rd/evolve/legacy.py |
5245
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
23 exclude .hg-format-source |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
24 exclude Makefile |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
25 exclude tests/test-drop.t |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
26 exclude tests/test-oldconvert.t |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
27 |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
28 prune contrib |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
29 prune debian |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
30 prune .gitlab |
3528fb011417
manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents:
5130
diff
changeset
|
31 prune hgext3rd/evolve/hack |