Mercurial > jhg
diff cmdline/org/tmatesoft/hg/console/Log.java @ 129:645829962785
core.Cset renamed to HgChangeset; repo.Changeset moved into HgChangelog
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 16 Feb 2011 20:32:29 +0100 |
parents | cea84c5995e6 |
children | aa1629f36482 |
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Log.java Wed Feb 16 20:13:41 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Log.java Wed Feb 16 20:32:29 2011 +0100 @@ -20,7 +20,7 @@ import java.util.LinkedList; import java.util.List; -import org.tmatesoft.hg.core.Cset; +import org.tmatesoft.hg.core.HgChangeset; import org.tmatesoft.hg.core.LogCommand; import org.tmatesoft.hg.core.LogCommand.FileRevision; import org.tmatesoft.hg.core.Nodeid; @@ -135,7 +135,7 @@ System.out.printf("Got notified that %s(%s) was originally known as %s(%s)\n", to.getPath(), to.getRevision(), from.getPath(), from.getRevision()); } - public void next(Cset changeset) { + public void next(HgChangeset changeset) { final String s = print(changeset); if (reverseOrder) { // XXX in fact, need to insert s into l according to changeset.getRevision() @@ -158,7 +158,7 @@ changelogWalker = null; } - private String print(Cset cset) { + private String print(HgChangeset cset) { StringBuilder sb = new StringBuilder(); Formatter f = new Formatter(sb); final Nodeid csetNodeid = cset.getNodeid();