[PATCH] contrib/hgk: need --debug to show long hashes in tags

Matt Mackall mpm at selenic.com
Thu Sep 7 19:24:51 UTC 2006


On Wed, Sep 06, 2006 at 07:31:28AM -0500, TK Soh wrote:
> On 9/5/06, Benoit Boissinot <bboissin at gmail.com> wrote:
> >pushed to crew,
> 
> Thanks.
> 
> I have one question though: while working on this patch, I was
> wondering if the short hashes will somehow cause any problem with hgk
> on large repo. Doesn't short hash increase the chances of collision?

Yes. A collision becomes probable after about 10M commits. This is not
much of a problem as Mercurial will complain if you give it a
non-unique hash subset.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list