Versioning builds from repos

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


Matt Mackall <mpm at selenic.com> 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
changeset.

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: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090709/d2bf1334/attachment.pgp 


More information about the Mercurial-devel mailing list