Matt Mackall <mpm@selenic.com> [Mon, 14 Dec 2009 15:02:02 -0600] rev 10069
Merge with -stable
Matt Mackall <mpm@selenic.com> [Mon, 14 Dec 2009 15:01:13 -0600] rev 10068
subrepo: add default path to new clones
Martin Geisler <mg@lazybytes.net> [Mon, 14 Dec 2009 00:26:28 +0100] rev 10067
win32mbcs: fix typos and reST syntax
Martin Geisler <mg@lazybytes.net> [Mon, 14 Dec 2009 00:02:04 +0100] rev 10066
help/templates: use hanging indent for field list
Now that the field list indentation is computed automatically, we no
longer need to align all fields the same. Using a simple hanging
indent makes it easy to edit the text in an editor like Emacs, which
will automatically recognized the hang and keep it.
The fields are still output with no blank lines between them.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 23:49:53 +0100] rev 10065
minirst: improve layout of field lists
Before, we used the padding following the key to compute where to wrap
the text. Long keys would thus give a big indentation. It also
required careful alignment of the source text, making it cumbersome to
items to the list.
We now compute the maximum key length and use that for all items in
the list. We also put a cap on the indentation: keys longer than 10
characters are put on their own line. This is similar to how rst2html
handles large keys: it uses 14 as the cutoff point, but I felt that 10
was better for monospaced text in the console.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 22:37:30 +0100] rev 10064
minirst: don't test regexps twice
We know the regexps match since splitparagraphs used them too.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 19:24:24 +0100] rev 10063
minirst: run inlineliterals too in debug mode
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:54:54 +0100] rev 10062
test-share: handle sed/GNU-sed discrepancies
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10061
Make {file_copies} usable as a --template key
Before this, to display file copies in templates, you had to write something
like {file_copies%filecopy}. For some reason, the {file_copy} subtemplate was
used by default but not defined by default in changeset_templater, while styles
were already using it. Here we define {file_copy} in changeset_templater, and
change the templater to handle formatting strings like {file_copies%filecopy}
with already expanded keys (in this case {file_copies}), for backward
compatibility.
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10060
templatekw: change {file_copies} behaviour, add {file_copies_switch}
{file_copies} template now displays file copies with or without the --copies
switch being set. A new {file_copies_switch} template implements the former
behaviour.
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10059
test-command-template: test 'file_copies' keyword
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10058
cmdutil: extract file copies closure into templatekw
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10057
cmdutil: extract latest tags closures in templatekw
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:24 +0100] rev 10056
cmdutil: extract file changes closures into templatekw
Patrick Mezard <pmezard@gmail.com> [Sun, 13 Dec 2009 18:06:23 +0100] rev 10055
cmdutil: extract repo dependent closures in templatekw