##// END OF EJS Templates
log: show phase in hg log -v with the phase template...
Jordi Gutiérrez Hermoso -
r22768:66bf251e default
parent child Browse files
Show More
@@ -1,73 +1,73
1 # Base templates. Due to name clashes with existing keywords, we have
1 # Base templates. Due to name clashes with existing keywords, we have
2 # to replace some keywords with 'lkeyword', for 'labelled keyword'
2 # to replace some keywords with 'lkeyword', for 'labelled keyword'
3 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
3 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
4 changeset_quiet = '{node}'
4 changeset_quiet = '{node}'
5 changeset_verbose = '{cset}{branches}{bookmarks}{tags}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'
5 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'
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
7
8 # File templates
8 # File templates
9 lfiles = '{if(files,
9 lfiles = '{if(files,
10 label("ui.note log.files",
10 label("ui.note log.files",
11 "files: {files}\n"))}'
11 "files: {files}\n"))}'
12
12
13 lfile_mods = '{if(file_mods,
13 lfile_mods = '{if(file_mods,
14 label("ui.debug log.files",
14 label("ui.debug log.files",
15 "files: {file_mods}\n"))}'
15 "files: {file_mods}\n"))}'
16
16
17 lfile_adds = '{if(file_adds,
17 lfile_adds = '{if(file_adds,
18 label("ui.debug log.files",
18 label("ui.debug log.files",
19 "files+: {file_adds}\n"))}'
19 "files+: {file_adds}\n"))}'
20
20
21 lfile_dels = '{if(file_dels,
21 lfile_dels = '{if(file_dels,
22 label("ui.debug log.files",
22 label("ui.debug log.files",
23 "files-: {file_dels}\n"))}'
23 "files-: {file_dels}\n"))}'
24
24
25 lfile_copies_switch = '{if(file_copies_switch,
25 lfile_copies_switch = '{if(file_copies_switch,
26 label("ui.note log.copies",
26 label("ui.note log.copies",
27 "copies: {file_copies_switch
27 "copies: {file_copies_switch
28 % ' {name} ({source})'}\n"))}'
28 % ' {name} ({source})'}\n"))}'
29
29
30 # General templates
30 # General templates
31 cset = '{label("log.changeset changeset.{phase}",
31 cset = '{label("log.changeset changeset.{phase}",
32 "changeset: {rev}:{node|short}")}\n'
32 "changeset: {rev}:{node|short}")}\n'
33
33
34 lphase = '{label("log.phase",
34 lphase = '{label("log.phase",
35 "phase: {phase}")}\n'
35 "phase: {phase}")}\n'
36
36
37 fullcset = '{label("log.changeset changeset.{phase}",
37 fullcset = '{label("log.changeset changeset.{phase}",
38 "changeset: {rev}:{node}")}\n'
38 "changeset: {rev}:{node}")}\n'
39
39
40 parent = '{label("log.parent changeset.{phase}",
40 parent = '{label("log.parent changeset.{phase}",
41 "parent: {rev}:{node|formatnode}")}\n'
41 "parent: {rev}:{node|formatnode}")}\n'
42
42
43 node = '{label("log.node",
43 node = '{label("log.node",
44 "{rev}:{node|short}")}\n'
44 "{rev}:{node|short}")}\n'
45
45
46 manifest = '{label("ui.debug log.manifest",
46 manifest = '{label("ui.debug log.manifest",
47 "manifest: {rev}:{node}")}\n'
47 "manifest: {rev}:{node}")}\n'
48
48
49 branch = '{label("log.branch",
49 branch = '{label("log.branch",
50 "branch: {branch}")}\n'
50 "branch: {branch}")}\n'
51
51
52 tag = '{label("log.tag",
52 tag = '{label("log.tag",
53 "tag: {tag}")}\n'
53 "tag: {tag}")}\n'
54
54
55 bookmark = '{label("log.bookmark",
55 bookmark = '{label("log.bookmark",
56 "bookmark: {bookmark}")}\n'
56 "bookmark: {bookmark}")}\n'
57
57
58 user = '{label("log.user",
58 user = '{label("log.user",
59 "user: {author}")}\n'
59 "user: {author}")}\n'
60
60
61 summary = '{label("log.summary",
61 summary = '{label("log.summary",
62 "summary: {desc|firstline}")}\n'
62 "summary: {desc|firstline}")}\n'
63
63
64 ldate = '{label("log.date",
64 ldate = '{label("log.date",
65 "date: {date|date}")}\n'
65 "date: {date|date}")}\n'
66
66
67 extra = '{label("ui.debug log.extra",
67 extra = '{label("ui.debug log.extra",
68 "extra: {key}={value|stringescape}")}\n'
68 "extra: {key}={value|stringescape}")}\n'
69
69
70 description = '{label("ui.note log.description",
70 description = '{label("ui.note log.description",
71 "description:")}
71 "description:")}
72 {label("ui.note log.description",
72 {label("ui.note log.description",
73 "{desc|strip}")}\n\n'
73 "{desc|strip}")}\n\n'
General Comments 0
You need to be logged in to leave comments. Login now