diff src/org/tmatesoft/hg/repo/HgLookup.java @ 357:dfb8405d996f

Clean debug stacktraces
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 06 Dec 2011 19:47:01 +0100
parents 981f9f50bb6c
children 9c9c442b5f2e
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgLookup.java	Tue Dec 06 14:25:52 2011 +0100
+++ b/src/org/tmatesoft/hg/repo/HgLookup.java	Tue Dec 06 19:47:01 2011 +0100
@@ -83,7 +83,7 @@
 		if (location == null || !location.canRead()) {
 			throw new HgInvalidFileException(String.format("Can't read file %s", location == null ? null : location.getPath()), null, location);
 		}
-		return new HgBundle(new DataAccessProvider(getContext()), location).link();
+		return new HgBundle(getContext(), new DataAccessProvider(getContext()), location).link();
 	}
 	
 	/**