Martin Geisler <mg@lazybytes.net> [Tue, 28 Apr 2009 17:28:00 +0200] rev 8236
webcommands: move nonempty logic from JavaScript to Python
This avoids hard-coding the '(none)' string in the JavaScript for each
style and avoids the {nonexisting|nonempty} hack which only works
since the template system don't complain about undefined variables.
Rocco Rutte <pdmef@gmx.net> [Mon, 20 Apr 2009 12:10:04 +0200] rev 8235
hgweb: use "nonempty" filter in templates for the changelog message
At least subversion allows empty commit logs which, after conversion,
show up as empty fields in hgweb and don't allow selecting the
changeset. Using "nonempty" as filter, "(none)" is used to get
clickable links for empty commit messages.
Rocco Rutte <pdmef@gmx.net> [Mon, 20 Apr 2009 11:34:15 +0200] rev 8234
templatefilters: add "nonempty" template filter
It ensures that at least "(none)" is returned in case the argument
passed is None or ''. This is primarily useful to render empty
changelog messages for hgweb but may be useful for others, too.
Patrick Mezard <pmezard@gmail.com> [Mon, 27 Apr 2009 22:15:36 +0200] rev 8233
keepalive: fix 4f13ed6ee544, reintroduce unredirected_hdrs
The previous fix dropped unredirected_hdrs which contain authentication
headers. Removing them break POST request requiring authentication (like
unbundle calls to bitbucket.org).
Martin Geisler <mg@lazybytes.net> [Sun, 26 Apr 2009 01:57:12 +0200] rev 8232
pure/osutil: add copyright and license header
Martin Geisler <mg@lazybytes.net> [Sun, 26 Apr 2009 01:57:00 +0200] rev 8231
match: add copyright and license header
Martin Geisler <mg@lazybytes.net> [Sun, 26 Apr 2009 01:56:52 +0200] rev 8230
fancyopts: add copyright and license header