From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262440AbVF2GdG (ORCPT ); Wed, 29 Jun 2005 02:33:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262209AbVF2GdG (ORCPT ); Wed, 29 Jun 2005 02:33:06 -0400 Received: from aktaia.intevation.org ([212.95.126.10]:12777 "EHLO mail.intevation.de") by vger.kernel.org with ESMTP id S261668AbVF2GdB (ORCPT ); Wed, 29 Jun 2005 02:33:01 -0400 Date: Wed, 29 Jun 2005 08:32:33 +0200 From: Thomas Arendsen Hein To: mercurial@selenic.com Cc: Linux Kernel , Git Mailing List Subject: Re: Mercurial vs Updated git HOWTO for kernel hackers Message-ID: <20050629063233.GE16872@intevation.de> Mail-Followup-To: mercurial@selenic.com, Linux Kernel , Git Mailing List References: <42B9E536.60704@pobox.com> <20050623235634.GC14426@waste.org> <20050624064101.GB14292@pasky.ji.cz> <20050624123819.GD9519@64m.dyndns.org> <20050628150027.GB1275@pasky.ji.cz> <20050628180157.GI12006@waste.org> <62CF578B-B9DF-4DEA-8BAD-041F357771FD@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62CF578B-B9DF-4DEA-8BAD-041F357771FD@mac.com> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org (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/