view dot_hgrc @ 855:1a144a878e46

feat: move local config to ~/.config folder
author Zeger Van de Vannet <zeger@vandevan.net>
date Sat, 23 Mar 2024 11:30:31 +0100
parents 323af99211bc
children bdd538139b08
line wrap: on
line source

%include ~/.config/mercurial/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()}