[ANNOUNCE] hg describe extension

Matt Mackall mpm at selenic.com
Wed Jul 30 10:52:09 CDT 2008


On Wed, 2008-07-30 at 09:37 -0500, Michael Kleehammer wrote:
> I've recently uploaded an "hg describe" extension which is similar to
> the "git describe" command.
> 
>   http://www.selenic.com/mercurial/wiki/index.cgi/DescribeExtension
>   http://freehg.org/u/mkleehammer/mercurial-describe/
> 
> It describes the current revision based on the most recent tag that is
> reachable.  It is primarily designed for naming releases in my
> automated build scripts, which is what I used git describe for.

That's an interesting notion. Perhaps something similar should be built
into the hg id command, like a --nearest:

$ hg id --nearest
(1.0.1)

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list