28 |
29 |
29 [diff] |
30 [diff] |
30 git = true |
31 git = true |
31 showfunc = true |
32 showfunc = true |
32 |
33 |
|
34 [color] |
|
35 diff.hunk = cyan |
|
36 log.changeset = magenta |
|
37 logcust.date = green |
|
38 logcust.user = cyan |
|
39 logcust.decorate = yellow |
|
40 changeset.draft = dim |
|
41 changeset.secret = dim underline |
|
42 |
|
43 [templatealias] |
|
44 phaseset = "{label("changeset.{phase}", rev)}:{label('log.changeset', node|short)}" |
|
45 decorate = "{if(branches, " ({branches})")}{if(tags, " <{tags}>")}{if(bookmarks, " [{bookmarks}]")}" |
|
46 |
33 [committemplate] |
47 [committemplate] |
34 changeset = {desc}\n\n |
48 changeset = {desc}\n\n |
35 HG: {extramsg} |
49 HG: {extramsg} |
36 HG: user: {author}\n{ifeq(p2rev, "-1", "", |
50 HG: user: {author}\n{ifeq(p2rev, "-1", "", |
37 "HG: branch merge\n") |
51 "HG: branch merge\n") |
38 }HG: branch '{branch}'\n{if(currentbookmark, |
52 }HG: branch '{branch}'\n{if(currentbookmark, |
39 "HG: bookmark '{currentbookmark}'\n") }{subrepos % |
53 "HG: bookmark '{currentbookmark}'\n") }{subrepos % |
40 "HG: subrepo {subrepo}\n" } |
54 "HG: subrepo {subrepo}\n" }{if(files, |
41 {splitlines(diff()) % 'HG: {line}\n'} |
55 "HG: ------------------------ >8 ------------------------ |
|
56 HG: Do not touch the line above. |
|
57 HG: Everything below will be removed. |
|
58 {diff()}", "HG: no files changed")} |
42 |
59 |
43 %include ~/.hgext/hgrc |
60 %include ~/.hgext/hgrc |
44 %include ~/.hgrc.local |
61 %include ~/.hgrc.local |