Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgInternals.java @ 114:46291ec605a0
Filters to read and initialize according to configuration files
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 03 Feb 2011 22:13:55 +0100 |
| parents | a3a2e5deb320 |
| children | 44b97930570c |
comparison
equal
deleted
inserted
replaced
| 113:67ae317408c9 | 114:46291ec605a0 |
|---|---|
| 13 * For information on how to redistribute this software under | 13 * For information on how to redistribute this software under |
| 14 * the terms of a license other than GNU General Public License | 14 * the terms of a license other than GNU General Public License |
| 15 * contact TMate Software at support@hg4j.com | 15 * contact TMate Software at support@hg4j.com |
| 16 */ | 16 */ |
| 17 package org.tmatesoft.hg.repo; | 17 package org.tmatesoft.hg.repo; |
| 18 | |
| 19 import java.io.File; | |
| 20 | |
| 21 import org.tmatesoft.hg.internal.ConfigFile; | |
| 18 | 22 |
| 19 | 23 |
| 20 /** | 24 /** |
| 21 * DO NOT USE THIS CLASS, INTENDED FOR TESTING PURPOSES. | 25 * DO NOT USE THIS CLASS, INTENDED FOR TESTING PURPOSES. |
| 22 * | 26 * |
| 44 for (int i = 0; i < toCheck.length; i++) { | 48 for (int i = 0; i < toCheck.length; i++) { |
| 45 rv[i] = ignore.isIgnored(toCheck[i]); | 49 rv[i] = ignore.isIgnored(toCheck[i]); |
| 46 } | 50 } |
| 47 return rv; | 51 return rv; |
| 48 } | 52 } |
| 53 | |
| 54 public File getRepositoryDir() { | |
| 55 return repo.getRepositoryRoot(); | |
| 56 } | |
| 57 | |
| 58 public ConfigFile getRepoConfig() { | |
| 59 return repo.getConfigFile(); | |
| 60 } | |
| 49 } | 61 } |
