New submission from Vinay Sajip <vinay_sa...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to