Part of bzrlib.atomicfile View In Hierarchy
This also causes hardlinks to break when it's written out.
Open this as for a regular file, then use commit() to move into place or abort() to cancel.
|Method||write||Write some data to the file. Like file.write()|
|Method||commit||Close the file and move to final name.|
|Method||abort||Discard temporary file without committing changes.|
|Method||close||Discard the file unless already committed.|
|Method||_close_tmpfile||Close the local temp file in preparation for commit or abort|