changeset 98:225c48d964ed

Changelog to HgChangelog, Refactoring doesn't recognize name with inner class
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 27 Jan 2011 21:27:37 +0100
parents ee2c750b036d
children 4d7bb95d553b
files cmdline/org/tmatesoft/hg/console/Incoming.java cmdline/org/tmatesoft/hg/console/Log.java cmdline/org/tmatesoft/hg/console/Outgoing.java
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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<Nodeid> base = new HashSet<Nodeid>();
--- 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<String> l = new LinkedList<String>();
 		private final HgRepository repo;
-		private Changelog.ParentWalker changelogWalker;
+		private HgChangelog.ParentWalker changelogWalker;
 		private final int tip ;
 
 		public Dump(HgRepository hgRepo) {
--- 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<Nodeid> sendToRemote = new LinkedHashSet<Nodeid>(pw.allNodes());
 		dump("initial state", sendToRemote);