Download:
child 278:42549c249804
parent 276:3b05199aaae2
277:46c4db4da923
Anton Shestakov <av6@dwimlabs.net>, Sat, 13 Jul 2024 01:21:51 +0400
.hgrc: use last(::x) instead of ancestor(x) in actualize-topic This seems to work in most (if not all) situations, as long as there is a public ancestor for the topic to be rebased on.

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
.hgrc file | annotate | diff | comparison | revisions
--- a/.hgrc Sat Jul 13 01:20:28 2024 +0400
+++ b/.hgrc Sat Jul 13 01:21:51 2024 +0400
@@ -28,7 +28,7 @@
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()'
+actualize-topic = rebase -s 'topic($1)' -d 'branch(last(::topic($1) and public()))'
. = pvr .
in-release = log -r '$1 + min($1:: and tag())'