.hgrc

Fri, 18 Oct 2019 17:01:35 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 17:01:35 -0500
changeset 806
fb0c343bb872
parent 797
41e248a8a6f7
child 830
3f6654b38b20
permissions
-rw-r--r--

PlugUpgrade

[ui]
username    = Meredith Howard <mhoward@roomag.org>
merge       = vimdiff
logtemplate = "{phaseset} -{label('logcust.decorate', decorate)} {desc|strip|firstline} {label('logcust.date', "({date|age})")} {label('logcust.user' , "<{author|person}>")}\n"

[extensions]
color =
graphlog =
pager =
progress =
rebase =
record =
shelve =
histedit =

[pager]
pager = LESS='FSRXi' less

[alias]
alias = !$HG config alias | grep -v 'alias.alias' | perl -ne 's/^alias\.// and s/=/#= / and print' | column -t -s#
fetch = pull --rebase
rec   = record
ctags = !~/bin/git-ctags
draft = log -r 'reverse(not public())'

[merge-tools]
vimdiff.executable = vim
vimdiff.args       = -d -c 'hid|hid' $base $local $output $other
vimdiff.check      = changed, conflicts

[diff]
git      = true
showfunc = true

[color]
diff.hunk        = cyan
log.changeset    = magenta
logcust.date     = green
logcust.user     = cyan
logcust.decorate = yellow
changeset.draft  = dim
changeset.secret = dim underline

[templatealias]
phaseset = "{label("changeset.{phase}", rev)}:{label('log.changeset', node|short)}"
decorate = "{if(branches, " ({branches})")}{if(tags, " <{tags}>")}{if(bookmarks, " [{bookmarks}]")}"

[committemplate]
changeset = {desc}\n\n
    HG: {extramsg}
    HG: user: {author}\n{ifeq(p2rev, "-1", "",
   "HG: branch merge\n")
   }HG: branch '{branch}'\n{if(currentbookmark,
   "HG: bookmark '{currentbookmark}'\n")  }{subrepos %
   "HG: subrepo {subrepo}\n"              }
   {splitlines(diff()) % 'HG: {line}\n'}

%include ~/.hgext/hgrc
%include ~/.hgrc.local

mercurial