Mercurial > evolve
annotate tests/test-version-install.t @ 4935:3874bc10d4a7 stable
docs: add two more amend commits to simulate temporary amend commits
sharing.rst made reference to temporary amend commits and used them to
demonstrate that hidden commits are not exchanged. Nowadays, evolve doesn't
create such commits, but it still makes sense to show how they are handled
during the exchange process. So let's add two more amend commits, one for each
repo. This way the guide doesn't have to be updated too much, but doesn't lose
this important detail of working with evolve.
Unfortunately, this means that tons of hashes change, but it's better than to
have figure 4 demonstrate absolutely nothing.
Temporary amend commits were removed from test-sharing.t in 06844693bb21,
but sharing.rst continued using them for demonstration purposes. It might've
been better to replace at least some of the temporary amend commits by extra
amends back then, but oh well.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 11 Nov 2019 02:42:37 +0700 |
parents | 095bab0d0cd7 |
children | 44c20093fc0e |
rev | line source |
---|---|
4875
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
1 $ cat >> $HGRCPATH <<EOF |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
2 > [extensions] |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
3 > EOF |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
4 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
5 |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
6 Test outputting version number |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
7 |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
8 $ hg version -v |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
9 Mercurial Distributed SCM (version *) (glob) |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
10 (see https://mercurial-scm.org for more information) |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
11 |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
12 Copyright (C) 2005-* Matt Mackall and others (glob) |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
13 This is free software; see the source for copying conditions. There is NO |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
14 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
15 |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
16 Enabled extensions: |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
17 |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
18 evolve external * (glob) |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
19 |
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
20 Test install |
4877
77e5c733200a
py3: remove smartquotes from README
Ian Moody <moz-ian@perix.co.uk>
parents:
4876
diff
changeset
|
21 TODO: fix warning |
4875
164543ac3277
setup: add a test for running setup.py
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
22 $ "$PYTHON" "$TESTDIR/../setup.py" install --root "$TESTTMP/installtest" > /dev/null |
4877
77e5c733200a
py3: remove smartquotes from README
Ian Moody <moz-ian@perix.co.uk>
parents:
4876
diff
changeset
|
23 */distutils/dist.py:*: UserWarning: Unknown distribution option: 'python_requires' (glob) |
77e5c733200a
py3: remove smartquotes from README
Ian Moody <moz-ian@perix.co.uk>
parents:
4876
diff
changeset
|
24 warnings.warn(msg) |