Anton Shestakov <av6@dwimlabs.net>, Mon, 16 Sep 2024 00:48:36 +0400
.hgrc: dp1 and dp2 aliases to diff for sanity-checks of merges
An extra alias "d" is needed to make sure `hg d` still works after we add other
commands starting with "d".
`--from` and `--to` are hg 5.7+, they provide clearer UI, but you can still use
`hg diff -r foo -r bar`.
--- a/.hgrc Mon Sep 16 00:42:53 2024 +0400
+++ b/.hgrc Mon Sep 16 00:48:36 2024 +0400
actualize-topic = rebase -s 'topic($1)' -d 'branch(last(::topic($1) and public()))'
in-release = log -r '$1 + min($1:: and tag())'
+dp1 = diff --from 'p1($1)' --to '$1'
+dp2 = diff --from 'p2($1)' --to '$1'