MANIFEST.in
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 30 Apr 2020 10:05:14 -0700
changeset 5341 13376ca93fa3
parent 5292 8c44f02e7200
permissions -rw-r--r--
evolve: always create commit when resolving divergence When resolving content-divergence, the final commit we create may end up empty (which means that Mercurial won't even create it). We've had code for handling that in evolve ever since 41bf6c27a122 (evolve: stabilize now handle conflicting changeset, 2012-08-23). However, that resolved the issue by marking on the divergent commits as successor. As Pierre-Yves has pointed out (in other code reviews), we should instead be creating a new successor. So that's what this patch does. It does that by setting `ui.allowemptycommit` while creating the final commit. However, that is not enough, because we may end up creating the same nodeid as already existed (we'd then end up trying to mark the "new" commit a successor of itself). To solve that, we add some salt to the commit extras. That salt affects lots of tests.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1770
be85d7ce8536 Manifest.in: sort entry
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 1062
diff changeset
     5
include README
524
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     6
include setup.py
5290
57ae9af43e6b manifest: just include all .py .sh and .t files from tests/ recursively
Anton Shestakov <av6@dwimlabs.net>
parents: 5289
diff changeset
     7
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
     8
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
     9
include docs/makefile
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
    10
include docs/*.py
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
    11
include docs/README
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
    12
include docs/*.rst
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
    13
include docs/static/*.svg
40ae7c5b3b17 packaging: handle docs in a separate block in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5129
diff changeset
    14
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
    15
include docs/tutorial/standalone.html
5129
b7048f3e1847 packaging: simplify inclusion of docs in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5128
diff changeset
    16
recursive-include docs/figures *.svg *.png
b7048f3e1847 packaging: simplify inclusion of docs in MANIFEST.in
Anton Shestakov <av6@dwimlabs.net>
parents: 5128
diff changeset
    17
recursive-include docs/tutorial *.css *.js *.md *.py *.rst *.sh *.t
5289
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
    18
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
    19
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
    20
exclude .gitlab-ci.yml
5292
8c44f02e7200 manifest: now that there's only one legacy.py, exclude it
Anton Shestakov <av6@dwimlabs.net>
parents: 5291
diff changeset
    21
exclude ./hgext3rd/evolve/legacy.py
5289
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
    22
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
    23
exclude Makefile
3528fb011417 manifest: make sure exclusions and prunes are last, because order matters
Anton Shestakov <av6@dwimlabs.net>
parents: 5130
diff changeset
    24
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
    25
exclude tests/test-inhibit.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