Hgrc

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 18: Line 18:
 
[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]

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=
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox