diff src/org/tmatesoft/hg/core/HgRepoFacade.java @ 571:e4ee4bf4c7d0

Let session context control creation of Path instances
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 11 Apr 2013 16:27:06 +0200
parents 32453f30de07
children 73c20c648c1f
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgRepoFacade.java	Thu Apr 11 16:07:17 2013 +0200
+++ b/src/org/tmatesoft/hg/core/HgRepoFacade.java	Thu Apr 11 16:27:06 2013 +0200
@@ -36,7 +36,7 @@
  * @author Artem Tikhomirov
  * @author TMate Software Ltd.
  */
-public class HgRepoFacade {
+public class HgRepoFacade implements SessionContext.Source {
 	private HgRepository repo;
 	private final SessionContext context;
 
@@ -97,6 +97,10 @@
 		}
 		return repo;
 	}
+	
+	public SessionContext getSessionContext() {
+		return context;
+	}
 
 	public HgLogCommand createLogCommand() {
 		return new HgLogCommand(repo/*, getCommandContext()*/);