Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgChangeset.java @ 142:37a34044e6bd
More reasonable use of path normalizer and path.source
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 17 Feb 2011 05:06:07 +0100 |
parents | 4a948ec83980 |
children | 1a7a9a20e1f9 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgChangeset.java Thu Feb 17 04:08:34 2011 +0100 +++ b/src/org/tmatesoft/hg/core/HgChangeset.java Thu Feb 17 05:06:07 2011 +0100 @@ -25,7 +25,6 @@ import org.tmatesoft.hg.repo.HgRepository; import org.tmatesoft.hg.repo.HgStatusCollector; import org.tmatesoft.hg.util.Path; -import org.tmatesoft.hg.util.PathPool; /** @@ -38,7 +37,7 @@ */ public class HgChangeset implements Cloneable { private final HgStatusCollector statusHelper; - private final PathPool pathHelper; + private final Path.Source pathHelper; // private Changeset changeset; @@ -51,9 +50,9 @@ // XXX consider CommandContext with StatusCollector, PathPool etc. Commands optionally get CC through a cons or create new // and pass it around - /*package-local*/HgChangeset(HgStatusCollector statusCollector, PathPool pathPool) { + /*package-local*/HgChangeset(HgStatusCollector statusCollector, Path.Source pathFactory) { statusHelper = statusCollector; - pathHelper = pathPool; + pathHelper = pathFactory; } /*package-local*/