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