Hgrc
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 4: | Line 4: | ||
username=Attie Grande <attie@attie.co.uk> | username=Attie Grande <attie@attie.co.uk> | ||
verbose=True | verbose=True | ||
+ | merge=internal:merge | ||
+ | |||
+ | [defaults] | ||
+ | log=-f | ||
+ | revert=--no-backup | ||
[pager] | [pager] | ||
pager=less -cR | pager=less -cR | ||
+ | |||
+ | [diff] | ||
+ | showfunc = true | ||
+ | |||
+ | [color] | ||
+ | # configure colors for each possible hg status | ||
+ | status.modified = blue bold | ||
+ | status.added = green bold | ||
+ | status.removed = red bold | ||
+ | status.deleted = cyan bold | ||
+ | status.unknown = magenta bold | ||
+ | status.ignored = white bold | ||
+ | # and for hg diff output also | ||
+ | diff.diffline = bold | ||
+ | diff.extended = cyan bold | ||
+ | diff.file_a = white bold | ||
+ | diff.file_b = white bold | ||
+ | diff.hunk = cyan | ||
+ | diff.deleted = red | ||
+ | diff.inserted = green | ||
+ | diff.changed = white | ||
+ | diff.trailingwhitespace = bold red_background | ||
[extensions] | [extensions] | ||
hgext.convert= | hgext.convert= | ||
pager= | pager= | ||
+ | color= | ||
+ | mq= | ||
+ | record= | ||
+ | shelve= | ||
+ | graphlog= | ||
+ | mercurial_keyring= | ||
</source> | </source> |
Revision as of 11:58, 3 November 2015
~/.hgrc
[ui] username=Attie Grande <attie@attie.co.uk> verbose=True merge=internal:merge [defaults] log=-f revert=--no-backup [pager] pager=less -cR [diff] showfunc = true [color] # configure colors for each possible hg status status.modified = blue bold status.added = green bold status.removed = red bold status.deleted = cyan bold status.unknown = magenta bold status.ignored = white bold # and for hg diff output also diff.diffline = bold diff.extended = cyan bold diff.file_a = white bold diff.file_b = white bold diff.hunk = cyan diff.deleted = red diff.inserted = green diff.changed = white diff.trailingwhitespace = bold red_background [extensions] hgext.convert= pager= color= mq= record= shelve= graphlog= mercurial_keyring=