Mercurial > jhg
diff src/org/tmatesoft/hg/internal/Internals.java @ 525:0be5be8d57e9
Repository checkout support, first iteration
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 11 Jan 2013 18:12:39 +0100 |
parents | bf352ce2b97f |
children | 2f9ed6bcefa2 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/Internals.java Fri Jan 11 18:10:29 2013 +0100 +++ b/src/org/tmatesoft/hg/internal/Internals.java Fri Jan 11 18:12:39 2013 +0100 @@ -31,6 +31,7 @@ import org.tmatesoft.hg.core.SessionContext; import org.tmatesoft.hg.repo.HgDataFile; +import org.tmatesoft.hg.repo.HgInternals; import org.tmatesoft.hg.repo.HgRuntimeException; import org.tmatesoft.hg.repo.HgRepoConfig.ExtensionsSection; import org.tmatesoft.hg.repo.HgRepository; @@ -410,6 +411,10 @@ return shallCacheRevlogsInRepo; } + public static Internals getInstance(HgRepository repo) { + return HgInternals.getImplementationRepo(repo); + } + public static <T> CharSequence join(Iterable<T> col, CharSequence separator) { if (col == null) { return String.valueOf(col);