mercurial/repair.py
branchstable
changeset 50288 d89eecf9605e
parent 50286 3d0b5760851c
child 50436 c5e93c915ab6
--- a/mercurial/repair.py	Mon Mar 06 20:16:17 2023 +0100
+++ b/mercurial/repair.py	Mon Mar 06 22:16:28 2023 +0100
@@ -259,7 +259,7 @@
                 bmchanges = [(m, repo[newbmtarget].node()) for m in updatebm]
                 repo._bookmarks.applychanges(repo, tr, bmchanges)
 
-            transaction.cleanup_undo_files(repo)
+            transaction.cleanup_undo_files(repo.ui.warn, repo.vfs_map)
 
         except:  # re-raises
             if backupfile: