add hg revision in Gajim version for hg users too
This commit is contained in:
parent
ed8ec75c52
commit
6c5565bfe2
|
@ -28,6 +28,13 @@ basedir = '../'
|
||||||
localedir = '../po'
|
localedir = '../po'
|
||||||
|
|
||||||
version = '0.13.90'
|
version = '0.13.90'
|
||||||
|
import subprocess
|
||||||
|
try:
|
||||||
|
hgversion = subprocess.Popen('hexdump -n6 -e\'6/1 "%02x"\' ../.hg/dirstate',
|
||||||
|
shell=True, stdout=subprocess.PIPE).communicate()[0]
|
||||||
|
version += '-' + hgversion
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
import sys, os.path
|
import sys, os.path
|
||||||
for base in ('.', 'common'):
|
for base in ('.', 'common'):
|
||||||
|
|
Loading…
Reference in New Issue