Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgChangeset.java @ 519:934037edbea0
Few toString() implementations to ease debug
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 20 Dec 2012 20:21:59 +0100 |
parents | ba36f66c32b4 |
children |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgChangeset.java Thu Dec 20 19:55:45 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgChangeset.java Thu Dec 20 20:21:59 2012 +0100 @@ -286,6 +286,12 @@ } } + @Override + public String toString() { + return String.format("HgChangeset(%d:%s)", revNumber, nodeid.shortNotation()); + + } + private HgRepository getRepo() { return shared.statusHelper.getRepo(); }