[PATCH 1 of 2] Fixed an exception that was caught and improperly forgotten

Eric Hopper hopper at omnifarious.org
Fri Sep 30 11:12:25 CDT 2005


# HG changeset patch
# User Eric Hopper <hopper at omnifarious.org>
# Node ID 0e58a4547982146b59a93500b34b785dc5095eb5
# Parent  0f25830f6bc3f0d36e88ec8c1ae11b62ecd0108b
Fixed an exception that was caught and improperly forgotten.

diff -r 0f25830f6bc3 -r 0e58a4547982 mercurial/commands.py
--- a/mercurial/commands.py	Thu Sep 29 22:18:32 2005
+++ b/mercurial/commands.py	Fri Sep 30 04:12:53 2005
@@ -568,6 +568,7 @@
         f.write(z.flush())
     except:
         os.unlink(fname)
+        raise
 
 def cat(ui, repo, file1, *pats, **opts):
     """output the latest or given revisions of files"""


More information about the Mercurial mailing list