Commit Graph

64 Commits

Author SHA1 Message Date
Alexander Solovyov
b7f3f7f2f4 templatekw.showdiffstat: use ctx.diff() instead of calling patch 2010-12-07 15:50:28 +01:00
Matt Mackall
8b31da4540 branch: operate on branch names in local string space where possible
Previously, branch names were ideally manipulated as UTF-8 strings,
because they were stored as UTF-8 in the dirstate and the changelog
and could not be safely converted to the local encoding and back.

However, only about 80% of branch name code was actually using the
right encoding conventions. This patch uses the localstr addition to
allow working on branch names as local strings, which simplifies
handling so that the previously incorrect code becomes correct.
2010-11-24 15:56:32 -06:00
Jason Harris
48d0722a3e templates: 'children' keyword
The template keyword 'parents' is already present and this just
provides the complimentary template keyword.
2010-07-03 05:24:16 +02:00
Benoit Boissinot
328394047f fix coding style (reported by pylint) 2010-02-08 15:36:34 +01:00
Matt Mackall
8d99be19f0 many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
Matt Mackall
cd3ef170f7 Merge with stable 2010-01-19 22:45:09 -06:00
Patrick Mezard
b47d7635f5 templatekw: fix extras, manifest and showlist args (issue1989)
Removing the explicit parameters from keywords signature is easier than copying
and reproducing the original argument list.
2010-01-18 22:59:32 +01:00
Patrick Mezard
46b592cdfa 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.
2009-12-13 18:06:24 +01:00
Patrick Mezard
f11c571560 cmdutil: extract file copies closure into templatekw 2009-12-13 18:06:24 +01:00
Patrick Mezard
a8e64bad12 cmdutil: extract latest tags closures in templatekw 2009-12-13 18:06:24 +01:00
Patrick Mezard
0ea61cf043 cmdutil: extract file changes closures into templatekw 2009-12-13 18:06:24 +01:00
Patrick Mezard
da27222189 cmdutil: extract repo dependent closures in templatekw 2009-12-13 18:06:23 +01:00
Patrick Mezard
434744ad77 cmdutil: extract ctx dependent closures into templatekw 2009-12-13 18:06:23 +01:00
Patrick Mezard
9de17a2612 cmdutil: replace showlist() closure with a function 2009-12-13 18:06:23 +01:00