comparison en/concepts.tex @ 121:9094c9fda8ec

Start chapter on error recovery.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 15 Nov 2006 15:59:41 -0800
parents ca99f247899e
children 980393101109
comparison
equal deleted inserted replaced
120:51c9168ab5f8 121:9094c9fda8ec
108 or encoded into a text representation, both of which are wasteful 108 or encoded into a text representation, both of which are wasteful
109 approaches. Mercurial can efficiently handle deltas of files with 109 approaches. Mercurial can efficiently handle deltas of files with
110 arbitrary binary contents; it doesn't need to treat text as special. 110 arbitrary binary contents; it doesn't need to treat text as special.
111 111
112 \subsection{Safe operation} 112 \subsection{Safe operation}
113 \label{sec:concepts:txn}
113 114
114 Mercurial only ever \emph{appends} data to the end of a revlog file. 115 Mercurial only ever \emph{appends} data to the end of a revlog file.
115 It never modifies a section of a file after it has written it. This 116 It never modifies a section of a file after it has written it. This
116 is both more robust and efficient than schemes that need to modify or 117 is both more robust and efficient than schemes that need to modify or
117 rewrite data. 118 rewrite data.