Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgRemoteRepository.java @ 490:b3c16d1aede0
Refactoring: move HgRepository's implementation aspects to Internals (which is now its imlementation counterpart and primary repository class to be used by other parts of the library)
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 16 Aug 2012 17:08:34 +0200 |
parents | 909306e412e2 |
children | 14dac192aa26 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRemoteRepository.java Mon Aug 13 19:24:29 2012 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRemoteRepository.java Thu Aug 16 17:08:34 2012 +0200 @@ -67,7 +67,7 @@ * @author Artem Tikhomirov * @author TMate Software Ltd. */ -public class HgRemoteRepository { +public class HgRemoteRepository implements SessionContext.Source { private final URL url; private final SSLContext sslContext; @@ -186,6 +186,10 @@ return String.format("%s://%s%s", url.getProtocol(), url.getHost(), url.getPath()); } } + + public SessionContext getSessionContext() { + return sessionContext; + } public List<Nodeid> heads() throws HgRemoteConnectionException { try {