Add hg rcfiles
This commit is contained in:
parent
016135c841
commit
225f257114
27
hgrc
Normal file
27
hgrc
Normal file
|
@ -0,0 +1,27 @@
|
|||
[ui]
|
||||
commitsubrepos = no
|
||||
ignore = ~/.hgignore
|
||||
|
||||
%include .hgrc.local
|
||||
|
||||
[diff]
|
||||
git = True
|
||||
|
||||
[merge-tools]
|
||||
splice.args = -f $base $local $other $output -c 'SpliceInit'
|
||||
splice.executable = vim
|
||||
splice.premerge = keep
|
||||
splice.priority = 1
|
||||
|
||||
[extensions]
|
||||
color =
|
||||
fetch =
|
||||
purge =
|
||||
rebase =
|
||||
record =
|
||||
shelve =
|
||||
strip =
|
||||
|
||||
[alias]
|
||||
l = log -l 16 --style="$HOME/.hgrc.style"
|
||||
reset = strip 'roots(outgoing())'
|
16
hgrc.style
Normal file
16
hgrc.style
Normal file
|
@ -0,0 +1,16 @@
|
|||
changeset = '\033[0;33m{node|short}\033[0m{branches}{bookmarks}\033[0m{tags} {desc|firstline|strip} \033[0;37m{author|person}, {date|age}\033[0m\n'
|
||||
|
||||
changeset_quiet = '\033[0;33m{rev}\033[0m {desc|firstline|strip}\n'
|
||||
|
||||
changeset_verbose = '\033[0;31m[{phase}]\033[0m \033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person}){bookmarks}\033[0m{tags}\n'
|
||||
|
||||
start_branches = ' '
|
||||
branch = '\033[0;34m{branch}\033[0m'
|
||||
|
||||
start_bookmarks = ' '
|
||||
bookmark = '\033[0;32m[{bookmark}]\033[0m '
|
||||
last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
|
||||
|
||||
start_tags = ' '
|
||||
tag = '\033[0;33m{tag}\033[0m, '
|
||||
last_tag = '\033[0;33m{tag}\033[0m'
|
Loading…
Reference in a new issue