mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-20 05:58:33 +00:00
(svn r21630) -Fix (r20308, r21615): version detection of subversion branches and tags got broken
This commit is contained in:
parent
2ebd4c62bc
commit
7cce507443
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user