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