# HG changeset patch
# User Sune Foldager <[email protected]>
# Date 1270034696 -7200
# Node ID d704e90a341cd43c86c5e1099a410bf9b308197a
# Parent 9c22be2ca924211179d75c5895c09cff3b05d837
setup: user correct mercurial product version
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -113,12 +113,20 @@
"optimize" : 1
}
}
+
+ def repoversion(verfile):
+ globals = {}
+ execfile(verfile, globals)
+ return globals.get('version', 'unknown')
+
+ hgversion = repoversion('../build-hg/mercurial/__version__.py')
+
extra['console'] = [
{'script':'../build-hg/hg',
'icon_resources':[(0,'icons/hg.ico')],
'description':'Mercurial Distributed SCM',
'copyright':hgcopyright,
- 'product_version':version},
+ 'product_version':hgversion},
{'script':'hgtk',
'icon_resources':[(0,'icons/thg_logo.ico')],
'description':'TortoiseHg GUI tools for Mercurial SCM',
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop