Mercurial > evolve
annotate tests/test-check-setup-manifest.t @ 6130:cd07d6bd4e2a
cmdrewrite: a new `hg fixup` command
This new command can be used to amend specific revisions with working copy
changes.
Implementation-wise what it basically does is:
1) commit working directory changes
2) relocate the new commit onto the target commit
3) fold them into one.
After the run, the working directory parent will be the obsoleted changeset
created in step 1 and descendants of the target will become orphans.
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 03 Nov 2021 22:59:17 +0530 |
parents | ccde78088d0b |
children |
rev | line source |
---|---|
5339
f2139537c2be
tests: use hghaveaddon.py to check for check-manifest
Anton Shestakov <av6@dwimlabs.net>
parents:
2116
diff
changeset
|
1 #require test-repo check-manifest |
2116
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
2 |
5652
ccde78088d0b
tests: update the experimental.evolution=all comment
Anton Shestakov <av6@dwimlabs.net>
parents:
5339
diff
changeset
|
3 Enable obsolescence to avoid the warning issue when obsmarkers are found |
ccde78088d0b
tests: update the experimental.evolution=all comment
Anton Shestakov <av6@dwimlabs.net>
parents:
5339
diff
changeset
|
4 |
2116
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
5 $ cat << EOF >> $HGRCPATH |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
6 > [experimental] |
5652
ccde78088d0b
tests: update the experimental.evolution=all comment
Anton Shestakov <av6@dwimlabs.net>
parents:
5339
diff
changeset
|
7 > evolution = all |
2116
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
8 > EOF |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
9 |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
10 Run check manifest: |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
11 |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
12 $ cd $TESTDIR/.. |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
13 $ check-manifest |
39d84b395343
checks: add a test that check MANIFEST.in content
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
14 lists of files in version control and sdist match |