LWN.net Logo

Hg Init: a Mercurial tutorial

Hg Init: a Mercurial tutorial

Posted Feb 25, 2010 4:02 UTC (Thu) by dkrawchuk (subscriber, #21896)
In reply to: Hg Init: a Mercurial tutorial by nix
Parent article: Hg Init: a Mercurial tutorial

I use git daily in Windows to manage Unigraphics part files which are large binary files and it works well and is easy enough to use. A half a dozen commands to learn and you are away. http://www.kernel.org/pub/software/scm/git/docs/everyday.... is enough to get the average person going. I tried hg but it does not handle binary files well.


(Log in to post comments)

Hg Init: a Mercurial tutorial

Posted Feb 25, 2010 8:55 UTC (Thu) by bboissin (subscriber, #29506) [Link]

In what way does it not handle binary files well, in theory there aren't
many differences in the way they deal with them.

Hg Init: a Mercurial tutorial

Posted Feb 26, 2010 0:46 UTC (Fri) by cortana (subscriber, #24596) [Link]

It handles binary files just fine. It handles *large* files (text or binary) poorly though. Specifically I am referring to the Windows port (msysgit) which tries to compress files before sending them to the server; if it runs out of memory (which it will, since it's only a 32-bit application and so can only address a couple of GiB of RAM) then it dies with a typically obtuse error message.

Hg Init: a Mercurial tutorial

Posted Feb 26, 2010 6:43 UTC (Fri) by dlang (✭ supporter ✭, #313) [Link]

git also has issues with large files.

the point at which a file gets large enough to cause problems (and what the problems are) are obviously different between the two.

Hg Init: a Mercurial tutorial

Posted Feb 26, 2010 9:43 UTC (Fri) by cortana (subscriber, #24596) [Link]

Whoops! To clarify, I was referring to Git rather than "it" (hg) :)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds