Mercurial > dotfiles
diff dot_hgrc @ 854:323af99211bc
feat: add .hgrc
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Sat, 23 Mar 2024 11:26:46 +0100 |
parents | |
children | 1a144a878e46 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_hgrc Sat Mar 23 11:26:46 2024 +0100 @@ -0,0 +1,72 @@ +%include ~/.local.hgrc + +[ui] +# We recommend enabling tweakdefaults to get slight improvements to +# the UI over time. Make sure to set HGPLAIN in the environment when +# writing scripts! +tweakdefaults = True + +# uncomment to disable color in command output +# (see 'hg help color' for details) +# color = never + +# uncomment to disable command output pagination +# (see 'hg help pager' for details) +# paginate = never +merge = internal:merge3 + +[merge-tools] +meld.disabled = yes +vimdiff.disabled = yes + +[extensions] +# uncomment the lines below to enable some popular extensions +# (see 'hg help extensions' for more info) +# +histedit = +rebase = +topic = +evolve = +# confman = +# hggit = +absorb = +largefiles = +mercurial_keyring = + +[experimental] +topic-mode = warn +evolution = all +auto-publish = warn + + +[phases] +publish = false + +[alias] +st = status -mard +stat = status -mard +blame = annotate -cufld + +[rhg] +on-unsupported = fallback +fallback-executable = /usr/local/bin/hg +allowed-extensions = rebase, absorb, evolve, topic + +[committemplate] +changeset = {desc}\n\n + HG: Enter commit message. Lines beginning with 'HG:' are removed. + HG: {extramsg} + HG: -- + HG: user: {author}\n{ifeq(p2rev, "-1", "", + "HG: branch merge\n") + }HG: branch: '{branch}'\n{if(topic, + "HG: topic: '{topic}'\n") }{subrepos % + "HG: subrepo: {subrepo}\n" }{file_adds % + "HG: added {file}\n" }{file_mods % + "HG: changed {file}\n" }{file_dels % + "HG: removed {file}\n" }{if(files, "", + "HG: no files changed\n")} + HG: ------------------------ >8 ------------------------ + HG: Do not touch the line above. + HG: Everything below will be removed. + {diff()}