diff src/org/tmatesoft/hg/core/HgRepoFacade.java @ 181:cd3371670f0b

Refactor incoming and outgoing code to be shared with RepositoryComparator. Placeholders for in/out commands. Refactor common remote lookup code
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 12 Apr 2011 19:10:38 +0200
parents 1a7a9a20e1f9
children 981f9f50bb6c
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgRepoFacade.java	Wed Apr 06 03:08:05 2011 +0200
+++ b/src/org/tmatesoft/hg/core/HgRepoFacade.java	Tue Apr 12 19:10:38 2011 +0200
@@ -102,4 +102,12 @@
 	public HgManifestCommand createManifestCommand() {
 		return new HgManifestCommand(repo);
 	}
+
+	public HgOutgoingCommand createOutgoingCommand() {
+		return new HgOutgoingCommand(repo);
+	}
+
+	public HgIncomingCommand createIncomingCommand() {
+		return new HgIncomingCommand(repo);
+	}
 }