/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | HistoryCache.java | 40 * repository. 42 * @param repository the repository to check 44 * for the repository, or {@code false} otherwise 46 boolean supportsRepository(Repository repository); argument 50 * parsing the history information in the repository. 54 * @param repository The external repository to read the history from (can 62 History get(File file, Repository repository, boolean withFiles) argument 66 * Store the history for a repository 72 store(History history, Repository repository) argument 94 hasCacheForDirectory(File directory, Repository repository) argument 105 getLatestCachedRevision(Repository repository) argument 116 getLastModifiedTimes( File directory, Repository repository) argument 126 clear(Repository repository) argument [all...] |
H A D | FileHistoryCache.java | 85 * @param repository repository object in which the file belongs 87 * @param root root of the source repository 91 RuntimeEnvironment env, Repository repository, 98 * files which have been renamed in Mercurial repository. 103 hist = repository.getHistory(test); 124 if (env.isTagsEnabled() && repository.hasFileBasedTags()) { 125 repository.assignTagsInHistory(hist); 130 storeFile(hist, file, repository); 136 Repository repository, Histor 90 doFileHistory(Map.Entry<String, List<HistoryEntry>> map_entry, RuntimeEnvironment env, Repository repository, File test, File root, boolean renamed) argument 134 isRenamedFile(Map.Entry<String, List<HistoryEntry>> map_entry, RuntimeEnvironment env, Repository repository, History history) argument 166 supportsRepository(Repository repository) argument 308 finishStore(Repository repository, String latestRev) argument 326 store(History history, Repository repository) argument 470 get(File file, Repository repository, boolean withFiles) argument 542 hasCacheForDirectory(File directory, Repository repository) argument 562 getRepositoryHistDataDirname(Repository repository) argument 580 getRepositoryCachedRevPath(Repository repository) argument 590 storeLatestCachedRevision(Repository repository, String rev) argument 612 getLatestCachedRevision(Repository repository) argument 640 getLastModifiedTimes( File directory, Repository repository) argument 649 clear(Repository repository) argument [all...] |
H A D | AccuRevHistoryParser.java | 50 private AccuRevRepository repository; field in class:AccuRevHistoryParser 64 repository = (AccuRevRepository) repos; 69 String relPath = repository.getDepotRelativePath(file); 89 Executor executor = repository.getHistoryLogExecutor(file); 96 executor = repository.getHistoryLogExecutor(file); 113 DateFormat df = repository.getDateFormat();
|
H A D | BazaarHistoryParser.java | 52 private BazaarRepository repository=new BazaarRepository(); //NOPMD field in class:BazaarHistoryParser 54 BazaarHistoryParser(BazaarRepository repository) { argument 55 this.repository = repository; 56 myDir = repository.getDirectoryName() + File.separator; 61 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision); 78 repository.removeAndVerifyOldestChangeset(entries, sinceRevision); 93 DateFormat df = repository.getDateFormat();
|
H A D | HistoryGuru.java | 318 Repository repository = getRepository(directory); 319 if (repository != null && useCache()) { 320 return historyCache.getLastModifiedTimes(directory, repository); 343 Repository repository = null; 352 Repository repository = null; 354 repository = RepositoryFactory.getRepository(file); 357 + file + "', could not instantiate the repository.", ie); 362 if (repository == null) { 363 // Not a repository, search its sub-dirs 377 repository 495 createCache(Repository repository, String sinceRevision) argument [all...] |
H A D | MonotoneHistoryParser.java | 54 private final MonotoneRepository repository; field in class:MonotoneHistoryParser 57 MonotoneHistoryParser(MonotoneRepository repository) { argument 58 this.repository = repository; 59 mydir = repository.getDirectoryName() + File.separator; 75 Executor executor = repository.getHistoryLogExecutor(file, changeset); 100 DateFormat df = repository.getDateFormat();
|
H A D | SSCMHistoryParser.java | 49 private final SSCMRepository repository; field in class:SSCMHistoryParser 51 SSCMHistoryParser(SSCMRepository repository) { argument 52 this.repository = repository; 77 DateFormat df = repository.getDateFormat(); 149 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
|
H A D | ClearCaseHistoryParser.java | 46 private ClearCaseRepository repository=new ClearCaseRepository(); field in class:ClearCaseHistoryParser 49 repository = (ClearCaseRepository)repos; 51 Executor executor = repository.getHistoryLogExecutor(file); 75 DateFormat df = repository.getDateFormat();
|
H A D | JDBCHistoryCache.java | 182 * repository. Only repositories that support retrieval of history for the 186 public boolean supportsRepository(Repository repository) { argument 187 return repository.hasHistoryForDirectories(); 263 // Create a composite index on the repository in ascending order 395 public boolean hasCacheForDirectory(File file, Repository repository) argument 404 ps.setString(1, toUnixPath(repository.getDirectoryName())); 537 * Statement that gets the history for the specified file and repository. 548 * given repository. The result is ordered in reverse chronological order to 568 public History get(File file, Repository repository, boolean withFiles) argument 573 return getHistory(file, repository, withFile 612 getHistory( File file, Repository repository, boolean withFiles) argument 691 store(History history, Repository repository) argument 742 storeHistory(final ConnectionResource conn, History history, final Repository repository) argument 1052 getRepositoryId(ConnectionResource conn, Repository repository) argument 1239 getLatestCachedRevision(Repository repository) argument 1257 getLatestRevisionForRepository(Repository repository) argument 1273 getLastModifiedTimes( File directory, Repository repository) argument 1290 getLastModifiedTimesForAllFiles( File directory, Repository repository) argument 1314 clear(Repository repository) argument 1332 clearHistoryForRepository(Repository repository) argument 1357 doRenamedHistory(final Repository repository, File file, Map<String, Integer> files, String repo_path) argument [all...] |
H A D | MercurialHistoryParser.java | 54 private final MercurialRepository repository; field in class:MercurialHistoryParser 59 MercurialHistoryParser(MercurialRepository repository) { argument 60 this.repository = repository; 61 mydir = repository.getDirectoryName() + File.separator; 78 Executor executor = repository.getHistoryLogExecutor(file, changeset); 96 repository.removeAndVerifyOldestChangeset(entries, changeset); 112 DateFormat df = repository.getDateFormat(); 174 new Object[]{s, repository.getDirectoryName()});
|
H A D | GitHistoryParser.java | 55 private GitRepository repository = new GitRepository(); field in class:GitHistoryParser 66 try (BufferedReader in = new BufferedReader(repository.newLogReader(input))) { 72 DateFormat df = repository.getDateFormat(); 156 repository = (GitRepository) repos; 158 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
|
H A D | CVSHistoryParser.java | 53 private CVSRepository repository=new CVSRepository(); field in class:CVSHistoryParser 64 DateFormat df = repository.getDateFormat(); 164 repository = (CVSRepository) repos; 166 Executor executor = repository.getHistoryLogExecutor(file);
|
/opengrok/test/org/opensolaris/opengrok/index/ |
H A D | IndexDatabaseTest.java | 45 private static TestRepository repository; field in class:IndexDatabaseTest 55 repository = new TestRepository(); 56 repository.create( 59 env.setSourceRoot(repository.getSourceRoot()); 60 env.setDataRoot(repository.getDataRoot()); 71 repository.destroy(); 77 // repository. 78 File f1 = new File(repository.getSourceRoot() + "/c/foobar.c"); 87 f1 = new File(repository.getSourceRoot() + "\\c\\foobar.c"); 96 // that's not in the repository [all...] |
H A D | IndexerRepoTest.java | 46 TestRepository repository; field in class:IndexerRepoTest 61 repository = new TestRepository(); 62 // For these tests we need Mercurial repository with renamed files. 63 repository.create(HistoryGuru.class.getResourceAsStream("repositories.zip")); 68 repository.destroy(); 95 String[] argv = {"-S", "-H", "-s", repository.getSourceRoot(), 96 "-d", repository.getDataRoot(), "-v"}; 110 String[] argv = {"-S", "-P", "-s", repository.getSourceRoot(), 111 "-d", repository.getDataRoot(), "-v"};
|
H A D | IndexerTest.java | 60 TestRepository repository; field in class:IndexerTest 78 repository = new TestRepository(); 79 repository.create(IndexerTest.class.getResourceAsStream("source.zip")); 84 repository.destroy(); 97 env.setSourceRoot(repository.getSourceRoot()); 98 env.setDataRoot(repository.getDataRoot()); 185 repository.getSourceRoot(), "-d", repository.getDataRoot(), "-v"}; 229 env.setSourceRoot(repository.getSourceRoot()); 230 env.setDataRoot(repository [all...] |
H A D | IgnoredNamesTest.java | 45 private static TestRepository repository; field in class:IgnoredNamesTest 49 repository = new TestRepository(); 50 repository.create(CAnalyzerFactoryTest.class.getResourceAsStream( 95 assertTrue(instance.ignore(new File(repository.getSourceRoot() 107 assertTrue(instance.ignore(new File(repository.getSourceRoot()
|
/opengrok/test/org/opensolaris/opengrok/condition/ |
H A D | RepositoryInstalled.java | 35 * if the repository is not working - generally means not available through the CLI. 44 private final Repository repository; field in class:RepositoryInstalled 46 public RepositoryInstalled(String name, Repository repository) { argument 48 this.repository = repository; 59 return repository.isWorking();
|
/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | CtagsTest.java | 43 private static TestRepository repository; field in class:CtagsTest 53 repository = new TestRepository(); 54 repository.create(CtagsTest.class.getResourceAsStream( 64 repository.getSourceRoot() + "/bug19195/ctags.config"; 75 repository.destroy(); 76 repository = null; 88 * Helper method that gets the definitions for a file in the repository. 93 String path = repository.getSourceRoot() + File.separator
|
/opengrok/test/org/opensolaris/opengrok/analysis/document/ |
H A D | TroffAnalyzerTest.java | 56 private static TestRepository repository; field in class:TroffAnalyzerTest 70 repository = new TestRepository(); 71 repository.create(TroffAnalyzerTest.class.getResourceAsStream( 75 repository.getSourceRoot() + "/document/foobar.1"); 93 repository.destroy(); 94 repository = null;
|
/opengrok/test/org/opensolaris/opengrok/history/ |
H A D | HistoryGuruTest.java | 51 private static TestRepository repository = new TestRepository(); field in class:HistoryGuruTest 59 repository = new TestRepository(); 60 repository.create(HistoryGuru.class.getResourceAsStream( 62 FileUtilities.getAllFiles(new File(repository.getSourceRoot()), 67 instance.addRepositories(repository.getSourceRoot()); 85 repository.destroy();
|
H A D | MercurialRepositoryTest.java | 57 * Revision numbers present in the Mercurial test repository, in the order 80 private TestRepository repository; field in class:MercurialRepositoryTest 83 * Set up a test repository. Should be called by the tests that need it. The 84 * test repository will be destroyed automatically when the test finishes. 87 repository = new TestRepository(); 88 repository.create(getClass().getResourceAsStream("repositories.zip")); 93 if (repository != null) { 94 repository.destroy(); 95 repository = null; 102 File root = new File(repository [all...] |
/opengrok/test/org/opensolaris/opengrok/web/ |
H A D | SearchHelperTest.java | 49 TestRepository repository; field in class:SearchHelperTest 63 repository = new TestRepository(); 64 repository.create(IndexerTest.class.getResourceAsStream("source.zip")); 67 env.setSourceRoot(repository.getSourceRoot()); 68 env.setDataRoot(repository.getDataRoot()); 74 repository.destroy(); 151 // Add a change to the repository, reindex, try to reopen the indexes 154 repository.addDummyFile("c", "foobar"); 171 repository.removeDummyFile("c");
|
/opengrok/test/org/opensolaris/opengrok/search/ |
H A D | SearchEngineTest.java | 47 static TestRepository repository; field in class:SearchEngineTest 53 repository = new TestRepository(); 54 repository.create(HistoryGuru.class.getResourceAsStream("repositories.zip")); 58 env.setSourceRoot(repository.getSourceRoot()); 59 env.setDataRoot(repository.getDataRoot()); 62 env.setSourceRoot(repository.getSourceRoot()); 63 env.setDataRoot(repository.getDataRoot()); 79 repository.destroy();
|
/opengrok/test/org/opensolaris/opengrok/analysis/c/ |
H A D | CAnalyzerFactoryTest.java | 61 private static TestRepository repository; field in class:CAnalyzerFactoryTest 87 repository = new TestRepository(); 88 repository.create(CAnalyzerFactoryTest.class.getResourceAsStream( 105 String path = repository.getSourceRoot() + "/c/sample.c";
|
/opengrok/test/org/opensolaris/opengrok/analysis/clojure/ |
H A D | ClojureAnalyzerFactoryTest.java | 59 private static TestRepository repository; field in class:ClojureAnalyzerFactoryTest 85 repository = new TestRepository(); 86 repository.create(ClojureAnalyzerFactoryTest.class.getResourceAsStream( 103 String path = repository.getSourceRoot() + "/clojure/sample.clj";
|