diff src/org/tmatesoft/hg/repo/HgInternals.java @ 284:7232b94f2ae3

HgDirstate shall operate with Path instead of String for file names. Use of Pair instead of array of unspecified length for parents.
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sat, 03 Sep 2011 13:12:13 +0200
parents 7af843ecc378
children 981f9f50bb6c
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgInternals.java	Sat Sep 03 13:10:12 2011 +0200
+++ b/src/org/tmatesoft/hg/repo/HgInternals.java	Sat Sep 03 13:12:13 2011 +0200
@@ -31,6 +31,7 @@
 import org.tmatesoft.hg.util.FileIterator;
 import org.tmatesoft.hg.util.FileWalker;
 import org.tmatesoft.hg.util.Path;
+import org.tmatesoft.hg.util.PathPool;
 import org.tmatesoft.hg.util.PathRewrite;
 
 
@@ -53,7 +54,7 @@
 	}
 
 	public void dumpDirstate() {
-		repo.loadDirstate().dump();
+		repo.loadDirstate(new PathPool(new PathRewrite.Empty())).dump();
 	}
 
 	public boolean[] checkIgnored(String... toCheck) {