mercurial/patch.py
changeset 16705 c2d9ef43ff6c
parent 16687 e34106fa0dc3
child 16803 107a3270a24a
--- a/mercurial/patch.py	Sun May 13 13:17:50 2012 +0200
+++ b/mercurial/patch.py	Sun May 13 13:18:06 2012 +0200
@@ -245,7 +245,7 @@
                         tmpfp.write('\n')
             elif not diffs_seen and message and content_type == 'text/plain':
                 message += '\n' + payload
-    except:
+    except: # re-raises
         tmpfp.close()
         os.unlink(tmpname)
         raise