mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r14354) -Fix (r14253): also fix hg revision detection for MSVC
This commit is contained in:
parent
0582039ae0
commit
9d3eb490c7
@ -217,7 +217,7 @@ Function DetermineSVNVersion()
|
|||||||
If version = "norev000" Then
|
If version = "norev000" Then
|
||||||
' git detection failed, reset error and try mercurial (hg)
|
' git detection failed, reset error and try mercurial (hg)
|
||||||
Err.Clear
|
Err.Clear
|
||||||
Set oExec = WshShell.Exec("hg tip")
|
Set oExec = WshShell.Exec("hg parents")
|
||||||
If Err.Number = 0 Then
|
If Err.Number = 0 Then
|
||||||
' Wait till the application is finished ...
|
' Wait till the application is finished ...
|
||||||
Do While oExec.Status = 0
|
Do While oExec.Status = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user