Changeset - r15803:4ff0487f1a05
[Not reviewed]
master
0 1 0
terkhen - 14 years ago 2010-08-14 09:28:03
terkhen@openttd.org
(svn r20488) -Fix [FS#4029]: Version detection for MSVC using mercurial failed (Hirundo).
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
projects/determineversion.vbs
Show inline comments
 
@@ -249,7 +249,7 @@ Function DetermineSVNVersion()
 
							End If ' line <> "default"
 
						End If ' Err.Number = 0
 

	
 
						Set oExec = WshShell.Exec("hg log -f -k " & Chr(34) & "(svn r" & Chr(34) & " -l 1 --template " & Chr(34) & "{desc}\n" & Chr(34) & " ../")
 
						Set oExec = WshShell.Exec("hg log -f -k " & Chr(34) & "(svn r" & Chr(34) & " -l 1 --template " & Chr(34) & "{desc}\n" & Chr(34) & " --cwd ../")
 
						If Err.Number = 0 Then
 
							revision = Mid(OExec.StdOut.ReadLine(), 7)
 
							revision = Mid(revision, 1, InStr(revision, ")") - 1)
0 comments (0 inline, 0 general)