Mercurial > hg-stable
diff mercurial/repair.py @ 50288:d89eecf9605e stable
undo-files: no longer pass the `repo` to `cleanup_undo_files`
As foretold in the previous changesets, we no longer need a full repository
object here.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 06 Mar 2023 22:16:28 +0100 |
parents | 3d0b5760851c |
children | c5e93c915ab6 |
line wrap: on
line diff
--- 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: