Commit Graph

19 Commits

Author SHA1 Message Date
Dirkjan Ochtman
c9f3b5991c give better error message on non-existent mapfile (issue813) 2008-03-21 12:05:01 +01:00
Dirkjan Ochtman
3e3b0d62eb warn about new heads on commit (issue842) 2008-03-21 11:06:02 +01:00
Giorgos Keramidas
3831b4f59e tests: update test-command-template for the new {isodatesec} filter 2008-03-17 19:28:46 +02:00
Jesse Glick
cf2fd9f31a Permit XML entities to be escaped in template output.
Useful for creating XML documents directly from Hg logging. Can also be used for
HTML. For use in content, will escape '&', '<', and for completeness '>'
(although it is not strictly necessary). For use in attributes, will also escape
' and ". Will also replace nonprinting (ASCII) control characters with spaces,
since these are illegal in XML.
2008-01-28 22:19:12 -05:00
Patrick Mezard
cbf322b12c cmdutil: make "files" list all files, add "file_mods" for modified files 2007-11-24 20:16:59 +01:00
Patrick Mezard
8f3f01adea cmdutil: always expose "files_add", "files_del" and "manifest" templater properties 2007-11-24 17:56:15 +01:00
Thomas Arendsen Hein
898f48cc24 hg log: Move filtering implicit parents to own method and use it in templater.
Extended test repo in test-command-template to contain changeset to test this.
2007-07-08 12:52:08 +02:00
TK Soh
cd2f400311 test-command-template: improve test coverage 2007-04-10 16:25:21 -05:00
Alexis S. L. Carvalho
62e2a7bfb7 command line templates: add formatnode filter
This will print a full hash node with --debug and a short one otherwise.

Use it with some default templates and in map-cmdline.default to print
the parents.  This should fix issue538.
2007-04-16 13:00:23 -03:00
Alexis S. L. Carvalho
4b47aae3d4 fix 'hg <not-log> -v --template foo' with revisions without copies 2007-04-16 13:00:23 -03:00
Thomas Arendsen Hein
d4f2f71b1f Extended templating test for new branches and extra changeset info. 2006-10-18 18:10:21 +02:00
Thomas Arendsen Hein
525802e3bf Adjust default cmdline style to really match verbose/debug log. 2006-10-18 12:17:02 +02:00
Thomas Arendsen Hein
1803d363c7 Make "hg log --style=changelog > changelog" work (issue338)
Style files in templates/ now take precedence over current directory.
This can be overridden with --style=./changelog if really neeeded.
Added test for issue338.
2006-09-29 21:24:15 +02:00
Thomas Arendsen Hein
978cbf5cbd Fixed OSError "No such file or directory: None" and make IOError consistent.
The None error occurs when the current working directory is no longer
available, e.g. because it was removed in another shell.
2006-09-11 10:23:23 +02:00
Matt Mackall
ba56a1fdbd Only show long hashes with --debug, not --verbose 2006-08-20 22:51:56 -05:00
Thomas Arendsen Hein
730a790e89 Corrected tests for commit now consistently stripping last newline. 2006-05-17 19:59:15 +02:00
Thomas Arendsen Hein
8126a5926d Use timestamps without leading 0 in test-command-template for portable tests. 2006-03-13 18:33:33 +01:00
Vadim Gelfer
cf480a6b22 fix template tests. 2006-03-12 15:50:18 -08:00
Vadim Gelfer
e0191ece5f add tests for command line template.
fix default template problem found in test.
2006-03-04 21:12:53 -08:00