Short revision numbers - are they shared now?
Matt Mackall
mpm at selenic.com
Fri Feb 21 19:41:10 UTC 2014
On Fri, 2014-02-21 at 11:03 +0300, anatoly techtonik wrote:
> I've just noticed that short revision numbers are not
> consecutive for my repository. Are they shared now?
No. For "short" numbers, it's effectively impossible because there is no
way for disconnected clients to avoid numbers colliding.
If we allow very large gaps, we can create a disconnected system where
we had shared, topologically ordered integers by building a number like
this:
[distance from root][decimal version of hash]
For instance, the current head of the hg default branch would be
something like:
127751107515992812252955970235503334318557124985696233
This, I think you'll agree, is not very useful.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list