Mercurial > hg
comparison templates/map-cmdline.default @ 4352:051fb8c2567c
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.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 16 Apr 2007 13:00:23 -0300 |
parents | fab28100ea88 |
children | 5a124ce4602a |
comparison
equal
deleted
inserted
replaced
4351:3380eb6d7c32 | 4352:051fb8c2567c |
---|---|
1 changeset = 'changeset: {rev}:{node|short}\n{branches}{tags}{short_parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' | 1 changeset = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' |
2 changeset_quiet = '{rev}:{node|short}\n' | 2 changeset_quiet = '{rev}:{node|short}\n' |
3 changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' | 3 changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' |
4 changeset_debug = 'changeset: {rev}:{node}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}{extras}description:\n{desc|strip}\n\n\n' | 4 changeset_debug = 'changeset: {rev}:{node}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}{extras}description:\n{desc|strip}\n\n\n' |
5 start_files = 'files: ' | 5 start_files = 'files: ' |
6 file = ' {file}' | 6 file = ' {file}' |
12 file_del = ' {file_del}' | 12 file_del = ' {file_del}' |
13 end_file_dels = '\n' | 13 end_file_dels = '\n' |
14 start_file_copies = 'copies: ' | 14 start_file_copies = 'copies: ' |
15 file_copy = ' {name} ({source})' | 15 file_copy = ' {name} ({source})' |
16 end_file_copies = '\n' | 16 end_file_copies = '\n' |
17 short_parent = 'parent: {rev}:{node|short}\n' | 17 parent = 'parent: {rev}:{node|formatnode}\n' |
18 parent = 'parent: {rev}:{node}\n' | |
19 manifest = 'manifest: {rev}:{node}\n' | 18 manifest = 'manifest: {rev}:{node}\n' |
20 branch = 'branch: {branch}\n' | 19 branch = 'branch: {branch}\n' |
21 tag = 'tag: {tag}\n' | 20 tag = 'tag: {tag}\n' |
22 extra = 'extra: {key}={value|stringescape}\n' | 21 extra = 'extra: {key}={value|stringescape}\n' |