.hgrc

changeset 845
682c71a60aad
parent 844
d82511ead246
child 881
a5b3b7b6850c
equal deleted inserted replaced
844:d82511ead246 845:682c71a60aad
28 28
29 [diff] 29 [diff]
30 git = true 30 git = true
31 showfunc = true 31 showfunc = true
32 32
33 [color] 33 %include ~/.hgrc.logtemplates
34 diff.hunk = cyan
35 log.changeset = magenta
36 logcust.date = green
37 logcust.user = cyan
38 logcust.decorate = yellow
39 changeset.draft = dim
40 changeset.secret = dim underline
41
42 [templates]
43 logcust = "{phaseset} -{label('logcust.decorate', decorate)} {desc|strip|firstline} {label('logcust.date', "({date|age})")} {label('logcust.user' , "<{author|person}>")}\n"
44
45 [templatealias]
46 phaseset = "{label("changeset.{phase}", rev)}:{label('log.changeset', node|short)}"
47 decorate = "{if(branches, " ({branches})")}{if(tags, " <{tags}>")}{if(bookmarks, " [{bookmarks}]")}{if(topics, " @{topics}")}"
48
49 [committemplate]
50 changeset = {desc}\n\n
51 HG: {extramsg}
52 HG: user: {author}\n{ifeq(p2rev, "-1", "",
53 "HG: branch merge\n")
54 }HG: branch '{branch}'\n{if(currentbookmark,
55 "HG: bookmark '{currentbookmark}'\n") }{subrepos %
56 "HG: subrepo {subrepo}\n" }
57 {splitlines(diff()) % 'HG: {line}\n'}
58
59 %include ~/.hgext/hgrc 34 %include ~/.hgext/hgrc
60 %include ~/.hgrc.local 35 %include ~/.hgrc.local

mercurial