Mercurial > jhg
diff src/com/tmate/hgkit/ll/LocalHgRepo.java @ 15:865bf07f381f
Basic hgignore handling
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 27 Dec 2010 00:50:02 +0100 |
parents | 382cfe9463db |
children | 02ee376bee79 |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/LocalHgRepo.java Sun Dec 26 14:56:08 2010 +0100 +++ b/src/com/tmate/hgkit/ll/LocalHgRepo.java Mon Dec 27 00:50:02 2010 +0100 @@ -50,9 +50,18 @@ return new HgDirstate(this, new File(repoDir, "dirstate")); } + // package-local, see comment for loadDirstate + public final HgIgnore loadIgnore() { + return new HgIgnore(this); + } + /*package-local*/ DataAccessProvider getDataAccess() { return dataAccess; } + + /*package-local*/ File getRepositoryRoot() { + return repoDir; + } private final HashMap<String, SoftReference<RevlogStream>> streamsCache = new HashMap<String, SoftReference<RevlogStream>>();