From b416e7266f535f006edca9cb52a6d074252b0766 Mon Sep 17 00:00:00 2001 From: terkhen Date: Sat, 14 Aug 2010 09:28:03 +0000 Subject: (svn r20488) -Fix [FS#4029]: Version detection for MSVC using mercurial failed (Hirundo). --- projects/determineversion.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/determineversion.vbs b/projects/determineversion.vbs index fa4109244..98e4e8322 100755 --- a/projects/determineversion.vbs +++ b/projects/determineversion.vbs @@ -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) -- cgit v1.2.3-70-g09d2