Wagner Bruna <wbruna@yahoo.com> [Fri, 15 Oct 2010 03:30:38 -0300] rev 12786
revset: disable subset optimization for parents() and children() (
issue2437)
For the boolean operators, the subset optimization works by calculating
the cheaper argument first, and passing the subset to the second
argument to restrict the revision domain. This works well for filtering
predicates.
But parents() don't work like a filter: it may return revisions outside the
specified set. So, combining it with boolean operators may easily yield
incorrect results. For instance, for the following revision graph:
0 -- 1
the expression '0 and parents(1)' should evaluate as follows:
0 and parents(1) ->
0 and 0 ->
0
But since [0] is passed to parents() as a subset, we get instead:
0 and parents(1 and 0) ->
0 and parents([]) ->
0 and [] ->
[]
This also affects children(), p1() and p2(), for the same reasons.
Predicates that call these (like heads()) are also affected.
We work around this issue by ignoring the subset when propagating
the call inside those predicates.
Matt Mackall <mpm@selenic.com> [Wed, 20 Oct 2010 14:57:36 -0500] rev 12785
check-code: warning and fixes for whitespace in unified tests
Mads Kiilerich <mads@kiilerich.com> [Wed, 20 Oct 2010 20:19:34 +0200] rev 12784
hgweb: use Pythons ssl module for HTTPS serve when using Python 2.6 or later
pyOpenSSL apparently doesn't work for Python 2.7 and isn't very actively
maintained.
The built-in ssl module seems like a long-term winner, so we now use that with
Python 2.6 and higher.
Mads Kiilerich <mads@kiilerich.com> [Wed, 20 Oct 2010 20:19:32 +0200] rev 12783
hgweb: refactor all pyOpenSSL references into one class
Erik Zielke <ez@aragost.com> [Wed, 20 Oct 2010 17:47:46 +0200] rev 12782
gendoc: added styling for extension TOC
Uses CSS3 columns for the list of extensions, so it is not just a long
list of extension names.
Erik Zielke <ez@aragost.com> [Wed, 20 Oct 2010 17:45:09 +0200] rev 12781
gendoc: automatically create help for default extensions.
Adds a section in the hg.1 manpage and corresponding hg.1.html
file. Each extension is listed with its module docstring, followed by
the commands defined by that extendsion.
Creates help for extensions by extracting doc strings from the extension modules
and its commands.
Erik Zielke <ez@aragost.com> [Tue, 19 Oct 2010 13:50:03 +0200] rev 12780
gendoc: dedent documentation from docstrings
When getting docstrings from the source they are indented to look good
in the code. This indentation interferes with how the text is parsed
by rst. Therefore this indentation is removed.
Erik Zielke <ez@aragost.com> [Tue, 19 Oct 2010 13:43:40 +0200] rev 12779
extensions.load: return module
Makes extensions.load return the module that
it has loaded.
This is done so that callers can get information on this module, which
e.g. can be used for generating docs.
Erik Zielke <ez@aragost.com> [Tue, 19 Oct 2010 13:39:34 +0200] rev 12778
help: different section separators
Changes the characters used as section separators, so different ones
are used for module docstring and command docstring.
This is done because the section from the docstring will be at
different levels in the restructured text output, therefore
different symbols have to be used.
Martin Geisler <mg@lazybytes.net> [Wed, 20 Oct 2010 18:08:37 +0200] rev 12777
gendoc: add subsection for each command
Martin Geisler <mg@lazybytes.net> [Wed, 20 Oct 2010 18:07:50 +0200] rev 12776
gendoc: move section commands to module scope
Wagner Bruna <wbruna@softwareexpress.com.br> [Wed, 20 Oct 2010 12:29:55 -0200] rev 12775
mq: mark string for i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Wed, 20 Oct 2010 12:29:41 -0200] rev 12774
cmdutil: mark string for i18n
timeless <timeless@gmail.com> [Thu, 14 Oct 2010 10:56:39 +0300] rev 12773
test-ssh: handle very slow ssh transfer rate
Kevin Bullock <kbullock@ringworld.org> [Tue, 19 Oct 2010 12:40:09 -0500] rev 12772
bookmarks: add paragraph on pushing and pulling to help
Text adapted from http://mercurial.selenic.com/wiki/BookmarksExtension
Erik Zielke <ez@aragost.com> [Wed, 20 Oct 2010 16:54:34 +0200] rev 12771
help: help topic for merge tools
I have made a help topic for merge tools. The text in the topic is
based on the http://mercurial.selenic.com/wiki/MergeProgram page from
the wiki, along with some extra information on the internal merge tools.
Martin Geisler <mg@lazybytes.net> [Wed, 20 Oct 2010 10:13:04 +0200] rev 12770
check-code: find trailing whitespace
timeless <timeless@gmail.com> [Wed, 20 Oct 2010 10:07:38 +0200] rev 12769
convert: kill trailing whitespace
timeless <timeless@gmail.com> [Wed, 20 Oct 2010 10:02:54 +0200] rev 12768
convert: fix typo in comment
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 18 Oct 2010 18:31:38 -0200] rev 12767
strip: support revision sets
Augie Fackler <durin42@gmail.com> [Sat, 16 Oct 2010 18:09:47 -0500] rev 12766
interhg: use uisetup() instead of module-load side effects
This fixes an infinite recursion bug caused by visiting a bad subpage
of the help handler repeatedly, which caused the wrapper for the
templater's escape filter to get installed twice and resulted in
infinite recursion.
Steve Borho <steve@borho.org> [Mon, 18 Oct 2010 23:20:14 -0500] rev 12765
merge: when --tool is specified, disable HGMERGE by setting to empty string
HGMERGE has different semantics than ui.merge. HGMERGE should hold the name
on an executable in your path, or an absolute tool path. As such, it's not
safe to simply copy the user's specified --tool value into HGMERGE. Instead,
we disable HGMERGE by setting it to an empty string.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 18 Oct 2010 14:10:36 +0900] rev 12764
ui: only fix config if the relevant section has changed
In particular, when extensions add hooks, or add non-ui and non-paths
configuration items during their setups, we really have no reason
to re-"fix" the config dictionaries.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 19 Oct 2010 23:15:31 +0900] rev 12763
test-tags: use printf instead of echo '...\n'