diff src/org/tmatesoft/hg/core/HgChangeset.java @ 432:1fc0da631200

Revlog.ParentWalker helper class got promoted as TLC, renamed to HgParentChildMap
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 30 Mar 2012 16:22:51 +0200
parents 31a89587eb04
children 7bcfbc255f48
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgChangeset.java	Thu Mar 29 20:54:04 2012 +0200
+++ b/src/org/tmatesoft/hg/core/HgChangeset.java	Fri Mar 30 16:22:51 2012 +0200
@@ -27,6 +27,7 @@
 import org.tmatesoft.hg.repo.HgRepository;
 import org.tmatesoft.hg.repo.HgRuntimeException;
 import org.tmatesoft.hg.repo.HgStatusCollector;
+import org.tmatesoft.hg.repo.HgParentChildMap;
 import org.tmatesoft.hg.util.CancelledException;
 import org.tmatesoft.hg.util.Path;
 
@@ -43,7 +44,7 @@
 	private final HgStatusCollector statusHelper;
 	private final Path.Source pathHelper;
 
-	private HgChangelog.ParentWalker parentHelper;
+	private HgParentChildMap<HgChangelog> parentHelper;
 
 	//
 	private RawChangeset changeset;
@@ -72,7 +73,7 @@
 		// keep references to parentHelper, statusHelper and pathHelper
 	}
 
-	/*package-local*/ void setParentHelper(HgChangelog.ParentWalker pw) {
+	/*package-local*/ void setParentHelper(HgParentChildMap<HgChangelog> pw) {
 		parentHelper = pw;
 		if (parentHelper != null) {
 			if (parentHelper.getRepo() != statusHelper.getRepo()) {