Mercurial > evolve
comparison README @ 1104:cb36a4eb0157 stable
evolve: fix the 'grab' alias to work on Windows
For some reason, the variable wasn't substituted on Windows in this case.
From the test suite:
$ hg grab 8
'' is not recognized as an internal or external command,\r (esc)
operable program or batch file.\r (esc)
This change seems hacky, but there isn't a readily available example of setting
up a shell alias like this from a python module to know if there is a better
way, and it seems like this is maybe just a convenience for tests, since there
is no documentation for the aliases.
The local copy of run-tests.py appears to predate the Windows support in the
Mercurial repository's version, and fails each test with:
The system cannot find the path specified.
However, with this change and blacklisting test-simple4server.t, the tests can
(mostly) be run on Windows like so:
$ ../../hg/tests/run-tests.py --with-hg=../../hg/hg --blacklist windows
Skipped test-simple4server.t: blacklisted
Warned test-obsolete.t: no result code from test
Warned test-tutorial.t: no result code from test
Warned test-evolve.t: no result code from test
Warned test-userguide.t: no result code from test
Warned test-sharing.t: no result code from test
Warned test-drop.t: no result code from test
Failed test-prune.t: output changed
# Ran 41 tests, 1 skipped, 6 warned, 1 failed.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 12 Aug 2014 19:09:53 -0400 |
parents | 8cac667a0d7d |
children | 6b0cf1b73693 |
comparison
equal
deleted
inserted
replaced
1103:d1ca81f9e458 | 1104:cb36a4eb0157 |
---|---|
61 | 61 |
62 - uncommit: add a --rev argument | 62 - uncommit: add a --rev argument |
63 - evolve: add a `working directory now at xxxxxxxxxx` message | 63 - evolve: add a `working directory now at xxxxxxxxxx` message |
64 - properly skip marker creating if patch apply cleanly | 64 - properly skip marker creating if patch apply cleanly |
65 - prune: work around a massive slowdown from lazy revset | 65 - prune: work around a massive slowdown from lazy revset |
66 - grab: "fix" the grab alias on window | |
66 | 67 |
67 4.1.0 -- 2014-08-08 | 68 4.1.0 -- 2014-08-08 |
68 | 69 |
69 - amend: add -D/--current-date option | 70 - amend: add -D/--current-date option |
70 - amend: add -U/--current-user option | 71 - amend: add -U/--current-user option |