transplant: remote bundle source was not closed before deleting the fetched bundle.
It fails under win32 because "normal" opened files cannot be removed.
--- a/hgext/transplant.py
+++ b/hgext/transplant.py
@@ -575,6 +575,7 @@ def transplant(ui, repo, *revs, **opts):
tp.apply(repo, source, revmap, merges, opts)
finally:
if bundle:
+ source.close()
os.unlink(bundle)
cmdtable = {