Merge with 2.0.0-m3

This commit is contained in:
René Pfeuffer
2018-08-30 11:48:58 +02:00
26 changed files with 789 additions and 49 deletions

View File

@@ -347,6 +347,7 @@ public final class SvnUtil
}
public static long getRevisionNumber(String revision) throws RevisionNotFoundException {
// REVIEW Bei SVN wird ohne Revision die -1 genommen, was zu einem Fehler führt
long revisionNumber = -1;
if (Util.isNotEmpty(revision))

View File

@@ -112,6 +112,10 @@ public class SvnBrowseCommand extends AbstractSvnCommand
}
}
if (revisionNumber == -1) {
revisionNumber = svnRepository.getLatestRevision();
}
result = new BrowserResult();
result.setRevision(String.valueOf(revisionNumber));
result.setFiles(children);