On Saturday, August 3, 2019 at 12:19:44 PM UTC-5, Rob wrote:
> Why does my Mac Leo log window display the Leo build number and date and
the Win10 log not?
I get:
Leo 6.1-devel, devel branch, build 3427d65881
2019-08-02 14:48:24 -0500
Python 3.6.3, PyQt version 5.8.0
Windows 10 AMD64 (build 10.0.17134) SP0
> I can't imagine it's the minor version differences between Python 3x or
PyQt 5.x.
It's not. Look at app.computeSignon & printSignon. It contains:
branch, junk_commit = g.gitInfo()
author, commit, date = g.getGitVersion()
# Compute g.app.signon.
signon = ['Leo %s' % leoVer]
if branch:
signon.append(', %s branch' % branch)
if commit:
signon.append(', build '+ commit)
if date:
signon.append('\n' + date)
app.signon = ''.join(signon)
So g.getGitVersion is returning "" for the commit (build). It's likely an
issue with the cwd. That is g.getGitVersion runs:
git log -n 1 --date=iso
HTH.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/5b783638-b510-4b71-b025-abbbb4d6538f%40googlegroups.com.