[PATCH] setup: include package/build/distribution id from HG_PACKAGE in version string

Matt Mackall mpm at selenic.com
Thu Oct 28 15:52:43 CDT 2010


On Thu, 2010-10-28 at 02:36 +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1288226146 -7200
> # Branch stable
> # Node ID 0de6a2a4db2a0bb234edafe74992d0e56a16be4b
> # Parent  e1855dee28c164be291755af2e11b26efe77a64e
> setup: include package/build/distribution id from HG_PACKAGE in version string

You've heard me say this before: show us the output!

I guess it's gonna look something like:

Mercurial Distributed SCM (version 1.6.4+197-58bc5024805d+20101023 /
Debian)

I can definitely see this fouling up people naively parsing version
strings. If we make this a whole "package info" string, with website,
etc., we can show that on a separate line. Something like:

Mercurial Distributed SCM (version 1.6.4+197-58bc5024805d+20101023)
Package: 32-bit TortoiseHG bundle for Python 2.6 (nightly) http://tortoisehg...

And yes, seeing this info in bug reports would save some round trips.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list