diff src/org/tmatesoft/hg/repo/HgBundle.java @ 534:243202f1bda5

Commit: refactor revision creation code from clone command to work separately, fit into existing library structure
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 04 Feb 2013 18:00:55 +0100
parents 688c1ab113bb
children 5daa42067e7c
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgBundle.java	Wed Jan 30 15:48:36 2013 +0100
+++ b/src/org/tmatesoft/hg/repo/HgBundle.java	Mon Feb 04 18:00:55 2013 +0100
@@ -60,7 +60,7 @@
 	}
 
 	private DataAccess getDataStream() throws IOException {
-		DataAccess da = accessProvider.create(bundleFile);
+		DataAccess da = accessProvider.createReader(bundleFile);
 		byte[] signature = new byte[6];
 		if (da.length() > 6) {
 			da.readBytes(signature, 0, 6);