Thomas Arendsen Hein <thomas@intevation.de> [Sun, 22 Nov 2009 11:25:01 +0100] rev 9903
Do not overwrite motd attribute of hgwebdir instances on refresh.
This allows using
application = hgwebdir(...)
application.motd = (string or object with __str__ method)
in WSGI (like it is possible in CGI).
Changed web.motd in the config file is still read with this, because
hgwebdir.templater.motd() does not store the config value.
Martin Geisler <mg@lazybytes.net> [Sun, 22 Nov 2009 11:19:07 +0100] rev 9902
Merge with stable
Henri Wiechers <hwiechers@gmail.com> [Fri, 20 Nov 2009 14:11:05 +0200] rev 9901
commands: minor refactoring
Renamed local variable i to entry in helpcmd.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 19 Nov 2009 11:06:01 +0900] rev 9900
inotify: improve error messages
* prefix messages by inotify-(client|server)
* make sure that all warning and abort messages use the same format.
* in the case where inotify.sock is an old broken symlink, say so and abort
instead of trying to overwrite the already existing link
Greg Ward <greg@gerg.ca> [Wed, 18 Nov 2009 22:23:11 -0500] rev 9899
run-tests: give each child its own tmp dir (
issue1911)
Fixes bug introduced by
f8b4df4b033d (
issue1911: --tmpdir plus parallel
mode = fail), and also fixes the long-standing quirk that parallel mode
created multiple /tmp/hgtests.XXXXXX directories. Now there is only one
/tmp/hgtests.XXXXXX, with child0, child1, etc. under it.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Nov 2009 02:34:56 +0100] rev 9898
merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 17 Nov 2009 15:36:09 +0900] rev 9897
inotify: add a inotify.pidfile configuration possibility
This will mainly help us in our tests to log pids of inotify servers
started implicitely, to make sure that unkilled inotify daemons do not clutter
the output of unrelated tests.
Also desactivate the workaround introduced in
951ec6c7d703
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 17 Nov 2009 15:00:00 +0900] rev 9896
cmdutil.service: do not _exit(0) in the parent process
The fact that a parent process spawns a daemon does not necessarily means that
it is the only think it has to do. This was forcing since
7c01599dd340 inotify
processes launched implicitely to exit prematurely:
when no inotify server was running, "hg st" for example would only launch a
inotify server, _exit(0) and thus would not return file statuses.
This changeset adds a test for implicitely launched inotify processes.
Change to output of test-inotify-1208 is correct: it reflects the normal
error message of "hg st" when not dying during "hg inserve" daemon creation.
Martin Geisler <mg@lazybytes.net> [Thu, 19 Nov 2009 23:39:30 +0100] rev 9895
Merge with stable
Faheem Mitha <faheem@email.unc.edu> [Thu, 19 Nov 2009 17:33:41 -0500] rev 9894
commands: improve help for "hg clone -r"
Martin Geisler <mg@lazybytes.net> [Thu, 19 Nov 2009 23:29:02 +0100] rev 9893
commands, dates: use real lists instead of literal blocks
Martin Geisler <mg@lazybytes.net> [Thu, 19 Nov 2009 23:27:11 +0100] rev 9892
commands: use field lists instead of literal blocks in docstrings
The literal blocks were mis-used for alignment, but this of course
changes the font of the entire block to a fixed width font in the HTML
version. Using a proper list solves this.
Martin Geisler <mg@lazybytes.net> [Thu, 19 Nov 2009 22:25:38 +0100] rev 9891
commands: do not indent list in clone help string
Greg Ward <greg@gerg.ca> [Wed, 18 Nov 2009 22:23:11 -0500] rev 9890
run-tests: give each child its own tmp dir (
issue1911)
Fixes bug introduced by
f8b4df4b033d (
issue1911: --tmpdir plus parallel
mode = fail), and also fixes the long-standing quirk that parallel mode
created multiple /tmp/hgtests.XXXXXX directories. Now there is only one
/tmp/hgtests.XXXXXX, with child0, child1, etc. under it.
Martin Geisler <mg@lazybytes.net> [Thu, 19 Nov 2009 21:59:06 +0100] rev 9889
test-non-interactive-wsgi: make output deterministic
Henrik Stuart <hg@hstuart.dk> [Thu, 19 Nov 2009 15:54:57 +0100] rev 9888
hgweb: fix error in
38170eeed18c and introduce test for change
Sune Foldager <cryo@cyanite.org> [Thu, 19 Nov 2009 10:32:33 +0100] rev 9887
ui: add environ property to access os.environ or wsgirequest.environ
The property returns os.environ by default, and is propagated by ui.copy.
During hgweb processing, ui.environ is set to the proper WSGI-request
environment, as contained in wsgirequest.environ. For CGI, this is the
same as os.environ.
The property is meant to be read-only, as with os.environ (generally).
Martin Geisler <mg@lazybytes.net> [Sun, 08 Nov 2009 00:27:15 +0100] rev 9886
relink: wrap long lines in docstring
Patrick Mezard <pmezard@gmail.com> [Wed, 18 Nov 2009 21:58:49 +0100] rev 9885
test-convert-filemap: test improved filtering algorithm
Stefan Simek <simek@triaxis.sk> [Tue, 10 Nov 2009 13:04:03 +0100] rev 9884
convert: make filemap favor most specific filtering rule
A filemap like:
exclude "doc"
include "doc/foo.txt"
will now preserve doc/foo.txt and exclude everything else in doc/.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 17 Nov 2009 13:24:58 +0100] rev 9883
run-tests: set --home when building with distutils
If home was set in ~/.pydistutils.cfg, the tests could not run. This
overrides any home setting by supplying --home="" on the command line.
Zhigang Wang <w1z2g3@gmail.com> [Wed, 18 Nov 2009 20:14:17 +0100] rev 9882
gitweb: add a latest link to the gitweb style
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Wed, 18 Nov 2009 12:47:58 +0100] rev 9881
httprepo: suppress the `real URL is...' message in safe, common cases.
When the actual and requested URL only differ by trailing slashes,
there is no need to warn. As an example, this easily happens when
accessing repositories on Bitbucket over HTTP(S).
As far as I could tell, there were no existing tests for this
behaviour.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 18 Nov 2009 17:09:00 +0100] rev 9880
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 18 Nov 2009 16:47:20 +0100] rev 9879
Extend test-branchmap to test
c51494c53841
(encoding fallback in branchmap to maintain compatibility with 1.3.x)
Sune Foldager <cryo@cyanite.org> [Wed, 18 Nov 2009 15:20:08 +0100] rev 9878
branchmap: fix defective fallback fix
0262bb59016f
The fix applied as
0262bb59016f doesn't work and is essentially a no-op.
This fix also adds a comment about the nature of the problem, and a test.
Martin Geisler <mg@lazybytes.net> [Wed, 18 Nov 2009 00:19:42 +0100] rev 9877
Merge with stable
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Wed, 11 Nov 2009 17:48:00 +0100] rev 9876
alias: improve help text for command aliases
Displays the line "alias for: hg ..." with the original command including options,
followed by the command's original help text.
Henri Wiechers <hwiechers@gmail.com> [Fri, 13 Nov 2009 16:38:27 +0200] rev 9875
dispatch: minor refactoring
Renamed local variable i to entry in _dispatch.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 17 Nov 2009 22:16:41 +0100] rev 9874
qseries: don't truncate the patch name (
issue1912)
Instead of truncating the entire output line of `qseries', only the
summary is truncated.