Packagers: nightly builds?

Benoit Boissinot benoit.boissinot at ens-lyon.org
Wed Jan 28 10:44:20 CST 2009


On Wed, Jan 28, 2009 at 10:26:17AM -0600, Steve Borho wrote:
> On Wed, Jan 28, 2009 at 6:58 AM, Gilles Moris <gilles.moris at free.fr> wrote:
> > On Sun January 25 2009 22:23:03 Benoit Boissinot wrote:
> >> I think the best rev number is something like:
> >>
> >> <last version tag>.<number of ancestors>-<nodeid>
> >>
> >> I.e. for 9f9bbd33f71e, it would be:
> >> 1.1.2.7712-9f9bbd33f71e
> >>
> >
> > Benoit,
> >
> > I have updated the nearest extension to add two new format flags to
> > have the number of ancestors. So you can now get the following
> > version format with:
> >
> > % hg nearest --format '%t.%R-%h\n' 7712
> > 1.1.2.7712-9f9bbd33f71e
> >
> > See http://freehg.org/u/morisgi/nearest/
> 
> This seems like an extension that should be included in hgext/.
> Feel like submitting it for inclusion?

I don't know how other feels, but maybe it could be available in the
templating engine, so you could just do hg parents with the right
template (btw maybe the "dirty" '+' from hg id could be exposed too).

regards,

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list