From: Andrew Thompson Date: Tue, 28 Jun 2005 15:10:47 GMT Subject: Re: Mercurial vs Updated git HOWTO for kernel hackers Message-ID: <42C16877.6000909@aktzero.com> In-Reply-To: <20050628150027.GB1275@pasky.ji.cz> Petr Baudis wrote: >>Mercurial's undo is taking a snapshot of all the changed file's repo file length >>at every commit or pull. It just truncate the file to original size and undo >>is done. > > "Trunactes"? That sounds very wrong... you mean replace with old > version? Anyway, what if the file has same length? It just doesn't make > much sense to me. I believe this works because the files stored in a binary format that appends new changesets onto the end. Thus, truncating the new stuff from the end effectively removes the commit. -- Andrew Thompson http://aktzero.com/ begin:vcard fn:Andrew Thompson n:Thompson;Andrew email;internet:andrewkt@aktzero.com x-mozilla-html:FALSE url:http://aktzero.com/ version:2.1 end:vcard _______________________________________________ Mercurial mailing list Mercurial@selenic.com http://selenic.com/mailman/listinfo/mercurial