Re: Mercurial vs Updated git HOWTO for kernel hackers
- From
- Thomas Arendsen Hein <thomas@intevation.de>
- Date
- Jun 29, 2005, 06:32 UTC
- Message-ID
- <20050629063233.GE16872@intevation.de>
- In-Reply-To
- <62CF578B-B9DF-4DEA-8BAD-041F357771FD@mac.com>
(repost to all lists who received the original mail)
* Kyle Moffett <mrmacman_g4@mac.com> [20050628 22:28]:
Show 8 quoted lines
> On Jun 28, 2005, at 14:01:57, Matt Mackall wrote: > >Everything in Mercurial is an append-only log. A transaction journal > >records the original length of each log so that it can be restored on > >failure. > > Does this mean that (excepting the "undo" feature) one could set the > ext3 "append-only" attribute on the repository files to avoid losing > data due to user account compromise?
This will break Mercurial's journaling. If 'hg pull' fails it truncates the already appended-to files to the last known state.
Thomas
-- Email: thomas@intevation.de http://intevation.de/~thomas/