MANIFEST.in
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 22 Jan 2016 21:41:59 +0900
changeset 1594 de43a3e6b358
parent 1062 9cdd32b45bba
child 1770 be85d7ce8536
permissions -rw-r--r--
evolve: close transaction if conflict is detected in relocate (issue4966) Before this patch, transaction is aborted, if conflict is detected at merging while "hg evolve". Since 8f2ff40fe9c9 (or 3.6) of Mercurial, aborting transaction discards all dirstate changes inside transaction scope for "transactional dirstate" (see below wiki page for detail about it). https://mercurial.selenic.com/wiki/DirstateTransactionPlan Therefore, just aborting transaction causes unchanged (and unexpected) dirstate, even though subsequent commands require dirstate changes while "hg evolve". To keep dirstate changes while "hg evolve", this patch closes current running transaction, if conflict is detected in relocate(), even though exception is raised as usual. Even though "save dirstate and restore it after aborting transaction" like shelve._aborttransaction() of Mercurial can also solve this issue, this patch chose closing transaction for similarity with failure for conflict at "hg unshelve". In addition to it, closing transaction can keep any previous (implicit) changes. In newly added test, there is an additional ancestor revision, which "will be evolved safely". It is used to examine whether failure for conflict doesn't discard already relocated revision(s) while "hg evolve". It is fact for current implementation that "hg evolve" relocates each revisions in separated transactions and already relocated ones are never discarded, even if subsequent relocation fails. Though, this examination is useful to detect unintentional regression in the future.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
524
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     1
recursive-include docs/figures *.svg
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     2
include docs/figures/hgview-example.png
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     3
include docs/*.rst
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     4
include docs/*.py
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     5
include docs/tutorials/*.t
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     6
include docs/makefile
567
ea5d8b98ee54 update MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 529
diff changeset
     7
include docs/static/*.svg
524
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     8
include hgext/__init__.py
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     9
include hgext/evolve.py
733
d0472c630542 ship pushexperiment extension
Julien Cristau <julien.cristau@logilab.fr>
parents: 567
diff changeset
    10
include hgext/pushexperiment.py
1062
9cdd32b45bba pkg: make tests pass using the generated tarball
Faheem Mitha <faheem@faheem.info>
parents: 733
diff changeset
    11
include hgext/simple4server.py
524
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    12
include setup.py
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    13
include README
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    14
include COPYING
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    15
include tests/*.t
ba0a3d0f942f pkg: add proper MANIFEST.in
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    16
include tests/*.py
1062
9cdd32b45bba pkg: make tests pass using the generated tarball
Faheem Mitha <faheem@faheem.info>
parents: 733
diff changeset
    17
include tests/_exc-util.sh
9cdd32b45bba pkg: make tests pass using the generated tarball
Faheem Mitha <faheem@faheem.info>
parents: 733
diff changeset
    18
include tests/dummyssh
529
365bf87ed4e8 pkg: exclude tests for unpackaged extension
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 524
diff changeset
    19
exclude tests/test-oldconvert.t
365bf87ed4e8 pkg: exclude tests for unpackaged extension
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 524
diff changeset
    20
exclude tests/test-qsync.t
1062
9cdd32b45bba pkg: make tests pass using the generated tarball
Faheem Mitha <faheem@faheem.info>
parents: 733
diff changeset
    21
exclude tests/test-drop.t