Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgInternals.java @ 339:863356c2847e
Issue 16: respect glob patterns in HgIgnore for sub-directories
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 16 Nov 2011 22:42:21 +0100 |
parents | a37ce7145c3f |
children | 8da7ade36c57 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgInternals.java Tue Nov 15 04:47:03 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/HgInternals.java Wed Nov 16 22:42:21 2011 +0100 @@ -83,15 +83,6 @@ return rv; } - public boolean[] checkIgnored(String... toCheck) { - HgIgnore ignore = repo.getIgnore(); - boolean[] rv = new boolean[toCheck.length]; - for (int i = 0; i < toCheck.length; i++) { - rv[i] = ignore.isIgnored(Path.create(toCheck[i])); - } - return rv; - } - public File getRepositoryDir() { return repo.getRepositoryRoot(); }