NIHVIVO-1581 Improve the error message produced when building revision info with an out-dated Subversion client.

This commit is contained in:
jeb228 2011-01-26 19:55:11 +00:00
parent ee34640e15
commit bf94f81adc

View file

@ -72,7 +72,7 @@ public class InfoResponseParser {
throws Exception { throws Exception {
Matcher matcher = pattern.matcher(infoResponse); Matcher matcher = pattern.matcher(infoResponse);
if (!matcher.find()) { if (!matcher.find()) {
throw new Exception("no match with '" + pattern + "'."); throw new Exception("no match with '" + pattern + "'. Is your Subversion client out of date?");
} }
String value = matcher.group(groupIndex); String value = matcher.group(groupIndex);