(svn r21630) -Fix (r20308, r21615): version detection of subversion branches and tags got broken

This commit is contained in:
rubidium
2010-12-25 08:22:55 +00:00
parent 09c88b1c20
commit f6c28ecd1c

View File

@@ -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