Wrong git version split under OSX
Bug #1348240 reported by
David Lefever @ Taktik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP buildout recipe |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hello,
there is a bug introduced recently in git.py.
Under OSX, git version can give something like "git version 1.8.5.2 (Apple Git-48)".
In git.py, method init_git_version, you remove "git version " from the string, then split
on the dots and try to cast as int.
The cast raises an exception as it tries to cast "2 (Apple Git-48)".
Regards,
David
Related branches
To post a comment you must log in.
Man, that was fast !
Thanks for the report and the proposed branch (you got the merge request in the wrong way, I think)