Mercurial > hg4j
comparison cmdline/org/tmatesoft/hg/console/ChangesetDumpHandler.java @ 427:31a89587eb04
FIXMEs: consistent names, throws for commands and their handlers. Use of checked exceptions in hi-level api
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 29 Mar 2012 17:14:35 +0200 |
parents | 9c9c442b5f2e |
children | 7bcfbc255f48 |
comparison
equal
deleted
inserted
replaced
426:063b0663495a | 427:31a89587eb04 |
---|---|
61 public ChangesetDumpHandler verbose(boolean b) { | 61 public ChangesetDumpHandler verbose(boolean b) { |
62 verbose = b; | 62 verbose = b; |
63 return this; | 63 return this; |
64 } | 64 } |
65 | 65 |
66 public void next(HgChangeset changeset) { | 66 public void cset(HgChangeset changeset) { |
67 try { | 67 try { |
68 final String s = print(changeset); | 68 final String s = print(changeset); |
69 if (reverseOrder) { | 69 if (reverseOrder) { |
70 // XXX in fact, need to insert s into l according to changeset.getRevision() | 70 // XXX in fact, need to insert s into l according to changeset.getRevision() |
71 // because when file history is being followed, revisions of the original file (with smaller revNumber) | 71 // because when file history is being followed, revisions of the original file (with smaller revNumber) |