Mercurial > jhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
518:0d5e1ea7955e | 519:934037edbea0 |
---|---|
284 } catch (CloneNotSupportedException ex) { | 284 } catch (CloneNotSupportedException ex) { |
285 throw new InternalError(ex.toString()); | 285 throw new InternalError(ex.toString()); |
286 } | 286 } |
287 } | 287 } |
288 | 288 |
289 @Override | |
290 public String toString() { | |
291 return String.format("HgChangeset(%d:%s)", revNumber, nodeid.shortNotation()); | |
292 | |
293 } | |
294 | |
289 private HgRepository getRepo() { | 295 private HgRepository getRepo() { |
290 return shared.statusHelper.getRepo(); | 296 return shared.statusHelper.getRepo(); |
291 } | 297 } |
292 | 298 |
293 private /*synchronized*/ void initFileChanges() throws HgRuntimeException { | 299 private /*synchronized*/ void initFileChanges() throws HgRuntimeException { |