hgext/record.py
changeset 16328 d388c3fc8319
parent 16324 46b991a1f428
child 16683 525fdb738975
child 17081 b013baa3898e
--- a/hgext/record.py	Sat Mar 31 11:19:09 2012 -0500
+++ b/hgext/record.py	Sat Mar 31 14:04:39 2012 -0500
@@ -324,6 +324,7 @@
 """)
                 (patchfd, patchfn) = tempfile.mkstemp(prefix="hg-editor-",
                         suffix=".diff", text=True)
+                ncpatchfp = None
                 try:
                     # Write the initial patch
                     f = os.fdopen(patchfd, "w")