Re: newbie questions about git design and features (some wrt hg)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jakub Narebski <jnareb@...>
Cc: <git@...>, <mercurial@...>
Date: Wednesday, January 31, 2007 - 4:01 pm

Jakub Narebski <jnareb@gmail.com> writes:


If I remember correctly, thanks to their log-like file format,
they can rely on O_APPEND to do the right thing when growing,
and aborting the current transaction is just a truncate away (or
a set of truncates on the files appended in the transaction, if
hg touches more than one log-like file but I do not know if hg
uses only one file or more than one).  That's one of the things
I found clean and beautiful (from theoretical point of view, at
least) in their design.  I do not think O_APPEND is not used to
control concurrent operations.

-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: newbie questions about git design and features (some wrt..., Simon 'corecode' Schubert..., (Fri Feb 2, 9:51 am)
Re: newbie questions about git design and features (some wrt..., Simon 'corecode' Schubert..., (Thu Feb 1, 3:59 am)
Re: newbie questions about git design and features (some wrt..., Johannes Schindelin, (Thu Feb 1, 6:09 am)
Re: newbie questions about git design and features (some wrt..., Simon 'corecode' Schubert..., (Thu Feb 1, 6:15 am)
Re: newbie questions about git design and features (some wrt..., Johannes Schindelin, (Thu Feb 1, 6:49 am)
Re: newbie questions about git design and features (some wrt..., Junio C Hamano, (Wed Jan 31, 4:01 pm)