# HG changeset patch # User Artem Tikhomirov # Date 1296160057 -3600 # Node ID 225c48d964ed7271ca3ec3aae5263ff5528077f3 # Parent ee2c750b036dab5886dd0800c7ea5b2c2b388f8f Changelog to HgChangelog, Refactoring doesn't recognize name with inner class diff -r ee2c750b036d -r 225c48d964ed cmdline/org/tmatesoft/hg/console/Incoming.java --- a/cmdline/org/tmatesoft/hg/console/Incoming.java Thu Jan 27 21:25:21 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Incoming.java Thu Jan 27 21:27:37 2011 +0100 @@ -45,7 +45,7 @@ } // in fact, all we need from changelog is set of all nodeids. However, since ParentWalker reuses same Nodeids, it's not too expensive // to reuse it here, XXX although later this may need to be refactored - final Changelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); + final HgChangelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); pw.init(); // HashSet base = new HashSet(); diff -r ee2c750b036d -r 225c48d964ed cmdline/org/tmatesoft/hg/console/Log.java --- a/cmdline/org/tmatesoft/hg/console/Log.java Thu Jan 27 21:25:21 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Log.java Thu Jan 27 21:27:37 2011 +0100 @@ -123,7 +123,7 @@ // own private LinkedList l = new LinkedList(); private final HgRepository repo; - private Changelog.ParentWalker changelogWalker; + private HgChangelog.ParentWalker changelogWalker; private final int tip ; public Dump(HgRepository hgRepo) { diff -r ee2c750b036d -r 225c48d964ed cmdline/org/tmatesoft/hg/console/Outgoing.java --- a/cmdline/org/tmatesoft/hg/console/Outgoing.java Thu Jan 27 21:25:21 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Outgoing.java Thu Jan 27 21:27:37 2011 +0100 @@ -47,7 +47,7 @@ base.add(Nodeid.fromAscii("d6d2a630f4a6d670c90a5ca909150f2b426ec88f".getBytes(), 0, 40)); // // fill with all known - Changelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); + HgChangelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); pw.init(); LinkedHashSet sendToRemote = new LinkedHashSet(pw.allNodes()); dump("initial state", sendToRemote);