diff src/org/tmatesoft/hg/repo/HgBundle.java @ 526:2f9ed6bcefa2

Initial support for Revert command with accompanying minor refactoring
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 15 Jan 2013 17:07:19 +0100
parents a41d955dc360
children 688c1ab113bb
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgBundle.java	Fri Jan 11 18:12:39 2013 +0100
+++ b/src/org/tmatesoft/hg/repo/HgBundle.java	Tue Jan 15 17:07:19 2013 +0100
@@ -30,6 +30,7 @@
 import org.tmatesoft.hg.internal.DigestHelper;
 import org.tmatesoft.hg.internal.Experimental;
 import org.tmatesoft.hg.internal.InflaterDataAccess;
+import org.tmatesoft.hg.internal.Internals;
 import org.tmatesoft.hg.internal.Lifecycle;
 import org.tmatesoft.hg.internal.Patch;
 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset;
@@ -68,7 +69,7 @@
 					return new InflaterDataAccess(da, 6, da.length() - 6);
 				}
 				if (signature[4] == 'B' && signature[5] == 'Z') {
-					throw HgRepository.notImplemented();
+					throw Internals.notImplemented();
 				}
 				if (signature[4] != 'U' || signature[5] != 'N') {
 					throw new HgInvalidStateException(String.format("Bad bundle signature: %s",  String.valueOf(signature)));