add mercurial extensions and aliases

This commit is contained in:
Morgan McMillian 2023-10-01 10:55:07 -07:00
parent ef58ba9369
commit 932141a678

View file

@ -1,5 +1,37 @@
[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]
hgext.convert=
# 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 =
[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