annotate MANIFEST.in @ 1106:6b0cf1b73693 stable

evolve: replace each obsolete sha1 in the description with its latest successor Obsolete csets are hidden by default and don't get pushed to the parent repo. In order to avoid broken references in commit messages, it makes sense to evolve those references to the latest and greatest successor, as each cset containing them is evolved. Of course, stale references can still occur if a commit in branch 'A' references something in branch 'B', and that something in 'B' is evolved but 'A' isn't subsequently evolved. This alleviates the user that is evolving a series of commits from having to 1) recognize that there is a hash that needs updating in any one of the series 2) look up the latest successor manually 3) hg amend -e The regular expression for matching and the logic for replacing are borrowed from the convert extension [1]. It might be nice for the output to state the reason that the reference couldn't be updated (it was pruned, split or diverged), but that may be excessive for something only displayed in verbose mode. (Maybe it should be a ui.status() instead?) [1] http://selenic.com/hg/rev/45562379ce4e
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 09 Aug 2014 19:12:16 -0400
parents 9cdd32b45bba
children be85d7ce8536
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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