run-tests: handle windows crlf in .py tests again
Before
af7c6bc48d8d all crlf occurrences in test output on Windows were simply
changed to lf. In
af7c6bc48d8d it was replaced by more clever handling in the
.t test runner ... but the .py runner was forgotten and many .py tests were
failing on Windows.
The crlf/lf replacement is now reintroduced in the py test runner.
test-run-tests.t: fix wrong test case for cr handling on Windows
An incorrect and failing test case was introduced in
af7c6bc48d8d.
win32mbcs: add reversing wrapper for some unicode-incompatible functions.
This changeset fix the problem to use win32mbcs with mercurial 2.3 or
later.
The problem is brought by side effect of modification of
encoding.upper() (changeset 17236:
9fb8312dbdbd) because upper() does
not accept unicode string argument. So wrapped util.normcase() which
uses upper() will fail. In other words, upper() and lower() are
unicode incompatible.
To fix this issue, this changeset adds new wrapper for reversed
conversion (unicode to str) for lower() and upper() to use them
safely.
convert: normalize paths in filemaps (
issue3612)
convert doesn't normalise double slashes in paths. Path normalization
is applied when a path is loaded into filemap and when a file lookup
request is issued to filemap.
repair: use node to track post-strip bookmark target
Revision numbers are unstable when non-consecutive revs are stripped.