1 # Base templates. Due to name clashes with existing keywords, we have |
1 %include map-cmdline.default |
2 # to replace some keywords with 'lkeyword', for 'labelled keyword' |
|
3 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n' |
2 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n' |
4 changeset_quiet = '{lnode}' |
|
5 changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n' |
3 changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n' |
6 changeset_debug = '{fullcset}{branches}{bookmarks}{tags}{lphase}{parents}{manifest}{user}{ldate}{lfile_mods}{lfile_adds}{lfile_dels}{lfile_copies_switch}{extras}{description}\n' |
|
7 |
|
8 # File templates |
|
9 lfiles = '{if(files, |
|
10 label("ui.note log.files", |
|
11 "files: {files}\n"))}' |
|
12 |
|
13 lfile_mods = '{if(file_mods, |
|
14 label("ui.debug log.files", |
|
15 "files: {file_mods}\n"))}' |
|
16 |
|
17 lfile_adds = '{if(file_adds, |
|
18 label("ui.debug log.files", |
|
19 "files+: {file_adds}\n"))}' |
|
20 |
|
21 lfile_dels = '{if(file_dels, |
|
22 label("ui.debug log.files", |
|
23 "files-: {file_dels}\n"))}' |
|
24 |
|
25 lfile_copies_switch = '{if(file_copies_switch, |
|
26 label("ui.note log.copies", |
|
27 "copies: {file_copies_switch |
|
28 % ' {name} ({source})'}\n"))}' |
|
29 |
|
30 # General templates |
|
31 cset = '{label("log.changeset changeset.{phase}", |
|
32 "changeset: {rev}:{node|short}")}\n' |
|
33 |
|
34 lphase = '{label("log.phase", |
|
35 "phase: {phase}")}\n' |
|
36 |
|
37 fullcset = '{label("log.changeset changeset.{phase}", |
|
38 "changeset: {rev}:{node}")}\n' |
|
39 |
|
40 parent = '{label("log.parent changeset.{phase}", |
|
41 "parent: {rev}:{node|formatnode}")}\n' |
|
42 |
|
43 lnode = '{label("log.node", |
|
44 "{rev}:{node|short}")}\n' |
|
45 |
|
46 manifest = '{label("ui.debug log.manifest", |
|
47 "manifest: {rev}:{node}")}\n' |
|
48 |
|
49 branch = '{label("log.branch", |
|
50 "branch: {branch}")}\n' |
|
51 |
|
52 tag = '{label("log.tag", |
|
53 "tag: {tag}")}\n' |
|
54 |
|
55 bookmark = '{label("log.bookmark", |
|
56 "bookmark: {bookmark}")}\n' |
|
57 |
|
58 user = '{label("log.user", |
|
59 "user: {author}")}\n' |
|
60 |
|
61 summary = '{if(desc|strip, "{label('log.summary', |
|
62 'summary: {desc|firstline}')}\n")}' |
|
63 |
|
64 ldate = '{label("log.date", |
|
65 "date: {date|date}")}\n' |
|
66 |
|
67 extra = '{label("ui.debug log.extra", |
|
68 "extra: {key}={value|stringescape}")}\n' |
|
69 |
|
70 description = '{if(desc|strip, "{label('ui.note log.description', |
|
71 'description:')} |
|
72 {label('ui.note log.description', |
|
73 '{desc|strip}')}\n\n")}' |
|