From 225f257114038e96479783f5728a0f64f1f384d7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 29 Jun 2016 02:51:20 -0400 Subject: [PATCH] Add hg rcfiles --- hgrc | 27 +++++++++++++++++++++++++++ hgrc.style | 16 ++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 hgrc create mode 100644 hgrc.style diff --git a/hgrc b/hgrc new file mode 100644 index 00000000..3736afce --- /dev/null +++ b/hgrc @@ -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())' diff --git a/hgrc.style b/hgrc.style new file mode 100644 index 00000000..d75446fd --- /dev/null +++ b/hgrc.style @@ -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' \ No newline at end of file