hg performance

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 14 09:17:56 CDT 2007


On 2007-08-14 15:55, Simon 'corecode' Schubert <corecode at fs.ei.tum.de> wrote:
>Giorgos Keramidas wrote:
>> This matches the results I got by importing a checkout of GNU Emacs
>> in Hg and Git:
>
>> %                      1. INITIAL 'ADD' OF ALL FILES
>
> Just doing a hg add vs git add is wrong.  hg add just registers the
> files to be added, whereas git actually adds the files to the object
> store.  You need to time add+commit together, possibly switching off
> the diffstat output for git.

You are right, of course.  The 'ADD' was quoted because it was done
with 'hg commit -A' to match Git's behavior.  I don't remember if I
turned off diffstat output, but that's a good point :-)



More information about the Mercurial mailing list