run-tests: install data files correctly
In
68964567e406 we began installing some data files in PREFIX/share.
When preparing to run the tests, run-tests.py uses --home="" in order
to work around home being set in a ~/.pydistutils.cfg file. This
somehow overwrites the --prefix option.
The result was that the share/ directory was installed in the top of
the Mercurial source tree.
commands.export: accept -r option as revision specification
This brings consistency with other commands option and allows specification of
negative numbers (-r -2), which were recognized as options earlier.
status: add the --change option to display files changed in a revision
This option is similar to the one already used for the diff command.
Unfortunately, the c and C short option are already used for status, so there
is no corresponding short option. However, there is no short option for --rev
either, so that's consistent.