Versioning builds from repos

Martin Geisler mg at
Thu Jul 9 10:53:11 CDT 2009

Matt Mackall <mpm at> writes:

> [...] I think I'd rather see something like:
> {lasttag}-{rev}-{node|short}
> Where {lasttag} is the nearest ancestor tag (tipmost if there's a
> tie). Your distance concept has all the same uniqueness issues as rev,
> so I think just using rev is more straightforward than introducing a
> new concept.

The difference between using the revision number and the longest
distance to a tag is that the latter is well-defined for a given

So two changesets might very well have the same distance to a tag, but
at least a changeset will have a stable distance. The revision numbers
are neither unique nor stable.

Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : 

More information about the Mercurial-devel mailing list