mirror of https://github.com/OpenTTD/OpenTTD
(svn r14354) -Fix (r14253): also fix hg revision detection for MSVC
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