--- a/hgext/rebase.py Mon Jul 22 16:49:38 2024 +0200 +++ b/hgext/rebase.py Tue Jul 23 10:02:46 2024 +0200 @@ -830,6 +830,7 @@ cleanup = False if cleanup: + if rebased: strippoints = [ c.node() for c in repo.set(b'roots(%ld)', rebased)