From: Thomas Arendsen Hein Date: Wed, 29 Jun 2005 06:32:33 GMT Subject: Re: Mercurial vs Updated git HOWTO for kernel hackers 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 [20050628 22:28]: > 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/