Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8683
walk: refactor walk plan
- never is gone
- reorder tests more cleanly
- rename nomatches to exact for clearer semantics
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8682
match: remove match.never
Only one user, can be translated to match.exact()
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8681
walk: use match.bad callback for filetype messages
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8680
match: ignore return of match.bad
All users returned false, return can now be dropped
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8679
add: use match.bad callback more effectively
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8678
match: document bad callback semantics
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8677
walk: simplify logic for badfn clause
- matchfn redundant
- call badfn always rather than fwarn
- use for/else rather than keep var
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8676
walk: we always have a badfn
Matt Mackall <mpm@selenic.com> [Sun, 31 May 2009 17:54:18 -0500] rev 8675
walk: simplify check for missing file
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
Martin Geisler <mg@lazybytes.net> [Sun, 31 May 2009 00:58:20 +0200] rev 8658
revlog: make triple-quoted string a real comment
Martin Geisler <mg@lazybytes.net> [Sat, 30 May 2009 23:42:35 +0200] rev 8657
posix: do not use fstat in isowner
The fstat function was undefined, but never used since a stat object
was always passed in the optional st argument. Passing st is now
mandatory.
This bug crept in when util was split up into posix and windows
modules. The fstat function is still defined in util, but importing it
into posix would create an import cycle which seems unnecessary.
Martin Geisler <mg@lazybytes.net> [Sat, 30 May 2009 23:20:30 +0200] rev 8656
removed unused imports
Brendan Cully <brendan@kublai.com> [Sat, 30 May 2009 11:32:23 -0700] rev 8655
Move alias into core
Cédric Duval <cedricduval@free.fr> [Sat, 30 May 2009 19:37:01 +0200] rev 8654
mq: rename setheader to updateheader and fix comment