Anton Shestakov <av6@dwimlabs.net>, Sat, 08 May 2021 08:05:26 +0800
vim: automatically list in makefiles
username = Anton Shestakov <av6@dwimlabs.net>
gl = log --pager=always -G
pvr = log --pager=always -pvr
stripout = strip -r 'outgoing()'
crecord = !$HG commit --interactive --config ui.interface=curses "$@"
reword = commit -X 're:' --amend
actualize-topic = rebase -s 'topic($1)' -d 'branch(ancestor(topic($1))) and public()'
in-release = log -r '$1 + min($1:: and tag())'
format = topic bar number item speed estimate
pager = less -FSRX --ignore-case
HG: Enter commit message. Lines beginning with 'HG:' are removed.
HG: user: {author}\n{ifeq(p2rev, "-1", "",
}HG: branch '{branch}'\n{if(activebookmark,
"HG: bookmark '{activebookmark}'\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")
{splitlines(diff()) % 'HG: {line}\n'}