hgeditor
changeset 665 40fd5722c669
parent 664 e1fbc1982372
child 666 0100a43788ca
--- a/hgeditor	Sun Jul 10 16:00:30 2005 -0800
+++ b/hgeditor	Sun Jul 10 16:00:49 2005 -0800
@@ -22,6 +22,8 @@
     # we don't sign merges
     exec $EDITOR "$1"
 else
+    # Remove temporary files even if we get interrupted
+    trap "cleanup_exit 255" TERM KILL INT QUIT ABRT
     T1=`mktemp`; T2=`mktemp`
 
     # Add manifest hash in order to sign whole repository state.