diff src/org/tmatesoft/hg/internal/RepositoryComparator.java @ 295:981f9f50bb6c

Issue 11: Error log facility. SessionContext to share common facilities
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 16 Sep 2011 05:35:32 +0200
parents 9fb50c04f03c
children 5f9073eabf06
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/RepositoryComparator.java	Wed Sep 14 04:41:57 2011 +0200
+++ b/src/org/tmatesoft/hg/internal/RepositoryComparator.java	Fri Sep 16 05:35:32 2011 +0200
@@ -30,7 +30,6 @@
 import java.util.Set;
 
 import org.tmatesoft.hg.core.HgBadStateException;
-import org.tmatesoft.hg.core.HgException;
 import org.tmatesoft.hg.core.HgRemoteConnectionException;
 import org.tmatesoft.hg.core.Nodeid;
 import org.tmatesoft.hg.repo.HgChangelog;
@@ -393,7 +392,7 @@
 	/**
 	 * @return list of nodeids from branchRoot to branchHead, inclusive. IOW, first element of the list is always root of the branch 
 	 */
-	public List<Nodeid> completeBranch(final Nodeid branchRoot, final Nodeid branchHead) throws HgException {
+	public List<Nodeid> completeBranch(final Nodeid branchRoot, final Nodeid branchHead) throws HgRemoteConnectionException {
 		class DataEntry {
 			public final Nodeid queryHead;
 			public final int headIndex;
@@ -512,7 +511,7 @@
 	 *  returns in order from branch root to head
 	 *  for a non-empty BranchChain, shall return modifiable list
 	 */
-	public List<Nodeid> visitBranches(BranchChain bc) throws HgException {
+	public List<Nodeid> visitBranches(BranchChain bc) throws HgRemoteConnectionException {
 		if (bc == null) {
 			return Collections.emptyList();
 		}