hgext/narrow/narrowbundle2.py
branchstable
changeset 50299 3d0b5760851c
parent 50290 48b90d18e9de
child 50301 d89eecf9605e
--- a/hgext/narrow/narrowbundle2.py	Mon Mar 06 19:39:35 2023 +0100
+++ b/hgext/narrow/narrowbundle2.py	Mon Mar 06 21:03:45 2023 +0100
@@ -19,6 +19,7 @@
     repair,
     requirements,
     scmutil,
+    transaction,
     util,
     wireprototypes,
 )
@@ -293,7 +294,7 @@
     finally:
         f.close()
 
-    repair.cleanup_undo_files(repo)
+    transaction.cleanup_undo_files(repo)
 
     # Remove partial backup only if there were no exceptions
     op._widen_uninterr.__exit__(None, None, None)