Mercurial > public > mercurial-scm > hg-stable
diff mercurial/streamclone.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 | 521fec115dad |
line wrap: on
line diff
--- a/mercurial/streamclone.py Mon Mar 06 20:16:17 2023 +0100 +++ b/mercurial/streamclone.py Mon Mar 06 22:16:28 2023 +0100 @@ -932,4 +932,4 @@ dest_repo.store.write(tr) # clean up transaction file as they do not make sense - transaction.cleanup_undo_files(dest_repo) + transaction.cleanup_undo_files(dest_repo.ui.warn, dest_repo.vfs_map)