Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/ext/MqManager.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 | f3fab7a20841 |
children | ba36f66c32b4 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/ext/MqManager.java Mon Aug 13 19:24:29 2012 +0200 +++ b/src/org/tmatesoft/hg/repo/ext/MqManager.java Thu Aug 16 17:08:34 2012 +0200 @@ -64,7 +64,7 @@ applied = allKnown = Collections.emptyList(); queueNames = Collections.emptyList(); File repoDir = HgInternals.getRepositoryDir(repo); - final LogFacility log = HgInternals.getContext(repo).getLog(); + final LogFacility log = repo.getSessionContext().getLog(); try { File queues = new File(repoDir, "patches.queues"); if (queues.isFile()) {