diff src/org/tmatesoft/hg/core/HgFileInformer.java @ 285:6dbbc53fc46d

Use Path instead of plain String for manifest file names
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sat, 03 Sep 2011 21:46:13 +0200
parents 9fb50c04f03c
children 981f9f50bb6c
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgFileInformer.java	Sat Sep 03 13:12:13 2011 +0200
+++ b/src/org/tmatesoft/hg/core/HgFileInformer.java	Sat Sep 03 21:46:13 2011 +0200
@@ -103,14 +103,14 @@
 			repo.getManifest().walk(csetRev, csetRev, cachedManifest);
 			// cachedManifest shall be meaningful - changelog.getLocalRevision above ensures we've got version that exists.
 		}
-		Nodeid toExtract = cachedManifest.nodeid(file.toString());
+		Nodeid toExtract = cachedManifest.nodeid(file);
 		try {
 			if (toExtract == null && followRenames) {
 				while (toExtract == null && dataFile.isCopy()) {
 					renamed = true;
 					file = dataFile.getCopySourceName();
 					dataFile = repo.getFileNode(file);
-					toExtract = cachedManifest.nodeid(file.toString());
+					toExtract = cachedManifest.nodeid(file);
 				}
 			}
 		} catch (HgDataStreamException ex) {