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.
--- 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(