Skip to content

Commit 2c291c4

Browse files
committed
refactor
1 parent f6e16c3 commit 2c291c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scm4j/vcs/svn/SVNVCS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ public List<VCSCommit> getCommitsRange(String branchName, String startFromCommit
528528
if (direction == WalkDirection.ASC) {
529529
sinceCommit = startFromCommitId == null ? getBranchFirstCommit(bn).getRevision() :
530530
Long.parseLong(startFromCommitId);
531-
untilCommit = Long.parseLong(getHeadCommit(branchName).getId());
531+
untilCommit = Long.parseLong(getHeadCommit(branchName).getRevision());
532532
} else {
533533
sinceCommit = startFromCommitId == null ? getBranchFirstCommit(bn).getRevision() :
534534
Long.parseLong(startFromCommitId);

0 commit comments

Comments
 (0)