diff src/org/tmatesoft/hg/repo/HgRemoteRepository.java @ 203:66fd2c73c56f

Basic test for HgOutgoingCommand. Handle cases with no outgoing changes in RepositoryComparator
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 26 Apr 2011 15:52:33 +0200
parents 706bcc7cfee4
children 1bf0a5af2d5d
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRemoteRepository.java	Tue Apr 26 02:50:06 2011 +0200
+++ b/src/org/tmatesoft/hg/repo/HgRemoteRepository.java	Tue Apr 26 15:52:33 2011 +0200
@@ -349,6 +349,11 @@
 		}
 	}
 
+	@Override
+	public String toString() {
+		return getClass().getSimpleName() + '[' + getLocation() + ']';
+	}
+
 	private HgLookup getLookupHelper() {
 		if (lookupHelper == null) {
 			lookupHelper = new HgLookup();