Re: Mercurial vs Updated git HOWTO for kernel hackers

From: Andrew Thompson <andrewkt@aktzero.com>
Date: 2005-06-29 01:10:47
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/

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Jun 29 01:11:37 2005

This archive was generated by hypermail 2.1.8 : 2005-06-29 01:11:41 EST