hgext/__init__.py
author mason@suse.com
Tue, 04 Apr 2006 16:38:44 -0400
changeset 2076 d007df6daf8e
parent 1360 7d439981bec4
permissions -rw-r--r--
Create an atomic opener that does not automatically rename on close The revlog.checkinlinesize() uses an atomic opener to replace the index file after converting it from inline to traditional .i and .d files. If this operation is interrupted, the atomic file class can overwrite a valid file with a partially written one. This patch introduces an atomic opener that does not automatically replace the destination file with the tempfile. This way an interrupted checkinlinesize() call turns into a noop.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1360
7d439981bec4 Re-add hgext/__init__.py
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
# placeholder