# HG changeset patch # User Pierre-Yves David # Date 1678416078 -3600 # Node ID 71a2c061865d64e9b1b03bf53a5fe4ea6e8c3b25 # Parent 7a017cd07a1ea866712c1ef69499227897ebde8e strip: drop the assert about bundled revision This is working well, so no need for extract computation. See the previous changeset for the rationnal of still have these assert around for a short interval. diff -r 7a017cd07a1e -r 71a2c061865d mercurial/repair.py --- a/mercurial/repair.py Thu Mar 09 15:06:59 2023 +0100 +++ b/mercurial/repair.py Fri Mar 10 03:41:18 2023 +0100 @@ -360,13 +360,8 @@ def to_nodes(revs): return [to_node(r) for r in revs] - simpler_bases = to_nodes( - unfi.revs("roots(%ln::%ln)", stripbases, stripbases) - ) bases = to_nodes(unfi.revs("roots(%ld)", all_backup)) heads = to_nodes(unfi.revs("heads(%ld)", all_backup)) - assert bases == simpler_bases - assert set(heads).issubset(set(repo.changelog.heads())) backupfile = backupbundle(repo, bases, heads, node, topic) repo.ui.status(_(b"saved backup bundle to %s\n") % vfs.join(backupfile)) repo.ui.log(