We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc9e9c commit 1117899Copy full SHA for 1117899
src/main/java/org/scm4j/vcs/svn/SVNVCS.java
@@ -584,6 +584,9 @@ public VCSCommit getHeadCommit(String branchName) {
584
SVNLogEntry headEntry = getDirHeadLogEntry(getBranchName(branchName));
585
return new VCSCommit(Long.toString(headEntry.getRevision()), headEntry.getMessage(), headEntry.getAuthor());
586
} catch (SVNException e) {
587
+ if (e.getErrorMessage().getErrorCode().getCode() == SVN_FILE_NOT_FOUND_ERROR_CODE) {
588
+ return null;
589
+ }
590
throw new EVCSException(e);
591
} catch (Exception e) {
592
throw new RuntimeException(e);
0 commit comments