[PATCH 4 of 4] Set automatically hg version in win32 installer

Steve Borho steve at borho.org
Mon Aug 17 10:53:55 CDT 2009


On Mon, Aug 17, 2009 at 12:40 AM, Pascal
Quantin<pascal.quantin at gmail.com> wrote:
> Hi,
>
> I submitted some weeks ago a new version of this patch where it read the
> version info from __version__.py file instead of creating a new file.
> Personnally I would prefer to have this kind of patch submitted instead of
> taking the version info from command line: this way it can work out of the
> box without needing a script to retrieve the version.

In my case, the script is in complete control over the install build.
It is cloning the source repository, updating to a tag, and then
providing iscc with both the version number (/DVERSION) and the output
filename (/F).

How about a compromise?  We can read the version from
mercurial/__version__.py if the value is not provided on the command
line.

--
Steve Borho


More information about the Mercurial-devel mailing list