[New-bugs-announce] [issue14093] Mercurial version information not appearing in Windows builds

Vinay Sajip report at bugs.python.org
Thu Feb 23 00:37:06 CET 2012


New submission from Vinay Sajip <vinay_sajip at yahoo.co.uk>:

Currently, the Mercurial revision information is not appearing in Windows builds - they always appear to be "default". This appears to be because the relevant information is not passed to getbuildinfo.c.

The attached patch rectifies this, making the assumption that "hg" will always be accessible on the path. The basic method is to call "hg id -bit" and then pass the branch, tag and revision information when compiling getbuildinfo.c.

If "hg" is not in the path, no Mercurial information is added (i.e. the current behaviour).

----------
components: Build, Windows
files: build-info-diff.diff
keywords: patch
messages: 154014
nosy: loewis, vinay.sajip
priority: normal
severity: normal
stage: patch review
status: open
title: Mercurial version information not appearing in Windows builds
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file24608/build-info-diff.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14093>
_______________________________________


More information about the New-bugs-announce mailing list