Changeset - r16885:5f721c3e7cb5
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-12-25 08:22:55
rubidium@openttd.org
(svn r21630) -Fix (r20308, r21615): version detection of subversion branches and tags got broken
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
projects/determineversion.vbs
Show inline comments
 
@@ -157,8 +157,10 @@ Function DetermineSVNVersion()
 

	
 
	If version <> "norev000" Then
 
		If InStr(url, "branches") Then
 
			url = Mid(url, InStr(url, "branches/") + 9)
 
			branch = Mid(url, 1, InStr(2, url, "/") - 1)
 
			branch = Mid(url, InStr(url, "branches/") + 9)
 
		End If
 
		If InStr(url, "tags") Then
 
			version = Mid(url, InStr(url, "tags/") + 5)
 
		End If
 
	Else ' version <> "norev000"
 
		' svn detection failed, reset error and try git
0 comments (0 inline, 0 general)