diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index e1df1e08f3..9a8dc7e39c 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -898,7 +898,7 @@ std::string SVN::getFileRevisionInfo() c = true; if (c && prefixIs(line, " revision=\"") && suffixIs(line, "\">")) { string l1 = subst(line, "revision=\"", ""); - string l2 = subst(l1, "\">", ""); + string l2 = trim(subst(l1, "\">", "")); if (isStrInt(l2)) rev = l2; }