diff src/org/tmatesoft/hg/core/ChangesetTransformer.java @ 431:12f668401613

FIXMEs: awkward API refactored, what need to be internal got hidden; public aspects got captured in slim interfaces
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Mar 2012 20:54:04 +0200
parents 31a89587eb04
children 1fc0da631200
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/ChangesetTransformer.java	Thu Mar 29 18:48:23 2012 +0200
+++ b/src/org/tmatesoft/hg/core/ChangesetTransformer.java	Thu Mar 29 20:54:04 2012 +0200
@@ -18,6 +18,7 @@
 
 import java.util.Set;
 
+import org.tmatesoft.hg.internal.PathPool;
 import org.tmatesoft.hg.repo.HgChangelog;
 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset;
 import org.tmatesoft.hg.repo.HgRepository;
@@ -25,7 +26,6 @@
 import org.tmatesoft.hg.util.Adaptable;
 import org.tmatesoft.hg.util.CancelSupport;
 import org.tmatesoft.hg.util.CancelledException;
-import org.tmatesoft.hg.util.PathPool;
 import org.tmatesoft.hg.util.PathRewrite;
 import org.tmatesoft.hg.util.ProgressSupport;
 
@@ -103,6 +103,7 @@
 
 		public Transformation(HgStatusCollector statusCollector, HgChangelog.ParentWalker pw) {
 			// files listed in a changeset don't need their names to be rewritten (they are normalized already)
+			// pp serves as a cache for all filenames encountered and as a source for Path listed in the changeset
 			PathPool pp = new PathPool(new PathRewrite.Empty());
 			statusCollector.setPathPool(pp);
 			changeset = new HgChangeset(statusCollector, pp);