Mercurial > hg4j
changeset 439:2bf6f917a7e5
NPE when revisionIndex is set but not revision
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 19 Apr 2012 19:17:31 +0200 |
| parents | 0d128e09d70f |
| children | 299870249a28 |
| files | src/org/tmatesoft/hg/internal/ExceptionInfo.java |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/ExceptionInfo.java Thu Apr 19 19:16:45 2012 +0200 +++ b/src/org/tmatesoft/hg/internal/ExceptionInfo.java Thu Apr 19 19:17:31 2012 +0200 @@ -141,7 +141,7 @@ sb.append(String.format("%s is not from [%d..%d]", sr, rangeLeftBoundary, rangeRightBoundary)); } else { sb.append(getRevisionIndex()); - if (isRevisionIndexSet()) { + if (isRevisionSet()) { sb.append(':'); sb.append(getRevision().shortNotation()); needNodeid = false;
