mercurial/commands.py
changeset 1366 136920d13fc2
parent 1354 8cf364c65425
child 1373 965d1db5c95d
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -568,6 +568,7 @@ def bundle(ui, repo, fname, dest="defaul
         f.write(z.flush())
     except:
         os.unlink(fname)
+        raise
 
 def cat(ui, repo, file1, *pats, **opts):
     """output the latest or given revisions of files"""