Greg Ward <greg-hg@gerg.ca> [Sun, 31 May 2009 15:20:31 -0400] rev 8674
run-tests: redefine --with-hg so it takes the 'hg' script to run.
- in parseargs(), check that --with-hg value is valid
- add handy --local option for "--with-hg=../hg"
- ensure that we always set PATH and PYTHONPATH (not just
when doing a temporary install)
- override any existing PYTHONPATH, so test success does not
depend on whatever happens to be in the caller's environment
- give tests a little more control by exporting $PYTHON to the
environment; needed by test-convert and test-mergetool when
they run hg with a stripped-down $PATH
Also, add a big comment explaining all the corner cases to test for the
next person who tries to modify this script.
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 22:18:16 -0400] rev 8673
run-tests: fix _checkhglib() so it's correct when using --with-hg.
Since this makes the warning less likely, upgrade it to a "real"
warning to stderr.
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 22:18:15 -0400] rev 8672
run-tests: factor out _checkhglib() to check import path of 'mercurial'.
- rename _hgpath() to _gethgpath() and move it down next to _checkhglib()
- change _gethgpath() so it caches its result: replaces global 'hgpkg'
that anyone can use with global '_hgpath' that is only for _gethgpath()
- no need to pass 'expecthg' to runchildren() or runtests() anymore
Also: do not change global PYTHON when doing coverage; this seems to
be unnecessary, since we create a dummy 'hg' script that handles
coverage for us, and it made things brittle. (E.g. the rest of this
patch makes the call to _hgpath() come later, and it was broken by
enabling coverage.)
Greg Ward <greg-hg@gerg.ca> [Fri, 29 May 2009 22:17:53 -0400] rev 8671
run-tests: show PID if running in parallel mode with -v.
(Extremely handy when you break parallel operation and need to figure
out what's going on. The assumption is that if you run with -v, you
want more details.)
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 19:48:37 +0200] rev 8670
i18n-da: synchronized and updated slightly
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 18:09:19 +0200] rev 8669
commands: typo in bundle abort message
This error trigger if one calls bundle with the wrong parameters and
it is thus not an error scripts will want to look for (they could and
should ensure that they call bundle with the correct parameters).
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:55:51 +0200] rev 8668
fixed typos found in translatable strings
This is from a spell-check of hg.pot.
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:53:46 +0200] rev 8667
graphlog, win32mbcs: capitalize ASCII
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:52:22 +0200] rev 8666
highlight: consistently capitalize Pygments
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:51:37 +0200] rev 8665
win32mbcs: capitalize Unicode
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 14:48:17 +0200] rev 8664
commands: expand "arg" -> "argument" in showconfig help strings
It is easier to translate full sentences without abbreviations, or
said differently, I don't know a short Danish word for "argument".
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:30:16 +0200] rev 8663
wrap string literals in error messages
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:29:30 +0200] rev 8662
convert/gnuarch: wrap long line, format kwargs without spaces
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:28:18 +0200] rev 8661
convert/cvsps: wrap long lines
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:26:23 +0200] rev 8660
convert/subversion: wrap long lines in comments
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 01:13:45 +0200] rev 8659
test-hybridencode: break long string literals