dotfiles/.config/hg/hgrc

39 lines
1.2 KiB
Text

[ui]
username = Morgan McMillian <morgan@mcmillian.dev>
# This setting updates a large number of settings for a better user experience,
# and is highly recommended for that reason!!
tweakdefaults = true
[extensions]
# Mercurial has support for extensions and there are a few we want to turn on.
# We do not specify a value which tells Mercurial to look for them in the
# default locations.
# The rebase extension allows us to move a commit. This is very useful when an
# upstreamed change causes some conflict with your local code and will make it
# easier for you to resolve the conflict.
rebase =
# The evolve extension lets you safely edit history.
evolve =
record =
hgext.convert =
[revsetalias]
# revsetaliases are shortcuts to select commits to operate on.
# This wip revsetalias will select all commits that are on your current branch
# but not on the default branch.
wip = only(.,default)
[alias]
# The lg alias is the same as the normal `hg log` but it will show the graph as
# well as commit phase in its output.
lg = log --graph --template phases
# The wip alias will show every commit between the upstream and your work in
# progress.
wip = log --graph --rev wip