Searched refs:root (Results 1 - 20 of 20) sorted by relevance

/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DDeltaText.java13 private Node root; field in class:DeltaText
19 * @param root Added lines will be annotated to root revision.
22 DeltaText(Node root, Node prev, boolean annotate) argument
24 this.root = root;
45 { ((DeltaTextLine)deltaStack.pop()).patch(root, prev, lines); }
50 { ((DeltaTextLine)deltaStack.pop()).patchAnnotate(root, prev, lines); }
H A DDeltaTextLine.java8 public void patch(Node root, Node prev, List lines); argument
11 public void patchAnnotate(Node root, Node prev, List lines); argument
H A DDeltaAddTextLine.java22 public void patch(Node root, Node prev, List lines) argument
26 lines.add(atLine+i, new Line(root, rcsText[rcsTextOffset+i]));
32 public void patchAnnotate(Node root, Node prev, List lines) argument
H A DPath.java248 Node root = n.root();
250 ((TrunkNode)n).newpatch0(lines, root);
264 n.newpatch(lines, false, root);
267 // Annotate to root
268 if (root != n)
272 Path ap = n.rcsnext.pathTo(root.version);
279 tn.newpatch(annoList, true, root);
H A DDeltaDelTextLine.java17 public void patch(Node root, Node prev, List lines) argument
24 public void patchAnnotate(Node root, Node prev, List lines) argument
H A DTrunkNode.java189 void newpatch0(List original, Node root) argument
193 original.add(new Line(root, text[i]));
H A DNode.java265 * Return the root node of the node hierarchy.
266 * @return The root node.
268 public Node root() method in class:Node
599 void newpatch(List original, boolean annotate, Node root) throws InvalidFileFormatException argument
601 DeltaText dt = new DeltaText(root, this.child, annotate);
H A DArchive.java1208 * the root revision.
1218 * and the root revision.
1224 return changeLog(latest, head.root().version);
/opengrok-jel/test/org/opensolaris/opengrok/history/
H A DMercurialRepositoryTest.java71 File root = new File(repository.getSourceRoot(), "mercurial");
73 (MercurialRepository) RepositoryFactory.getRepository(root);
74 History hist = mr.getHistory(root);
90 File root = new File(repository.getSourceRoot(), "mercurial");
92 (MercurialRepository) RepositoryFactory.getRepository(root);
94 History hist = mr.getHistory(root, REVISIONS[REVISIONS.length - 1]);
114 File root = new File(repository.getSourceRoot(), "mercurial");
116 (MercurialRepository) RepositoryFactory.getRepository(root);
127 mr.getHistory(root, constructedRevision);
H A DPerforceRepositoryTest.java45 private static File root = new File("/export/opengrok_p4_test"); field in class:PerforceRepositoryTest
52 if (!root.exists() || !(new PerforceRepository()).isWorking()) {
57 FileUtilities.getAllFiles(root, files, false);
73 instance.setDirectoryName(root.getAbsolutePath());
84 instance.setDirectoryName(root.getAbsolutePath());
/opengrok-jel/test/org/opensolaris/opengrok/util/
H A DFileUtilities.java50 * @param root target dir
54 public static void extractArchive(File sourceBundle, File root) argument
63 File file = new File(root, ze.getName());
85 * @param root directory to delete.
87 public static void removeDirs(File root) { argument
88 for (File f : root.listFiles()) {
95 root.delete();
118 * @param root where to start the search
123 public static void getAllFiles(File root, List<File> files, boolean directories) { argument
126 files.add(root);
[all...]
/opengrok-jel/tools/init.d/
H A Dopengrok.sh25 # The root direction of this opengrok installation
49 ADMINISTRATOR=root@localhost; export ADMINISTRATOR
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DEftarFile.java201 private Node root; field in class:EftarFile
213 if (root == null) {
214 root = new Node(1, null);
223 Node n = root;
234 traverse(root);
238 out.writeShort(root.children.size());
241 write(root);
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DRCSHistoryParser.java52 private static File readCVSRoot(File root, File CVSdir, String name) argument
55 String cvsroot = readFirstLine(root);
91 n = n.root();
146 File root = new File(CVSdir, "Root");
147 if (root.canRead()) {
148 return readCVSRoot(root, CVSdir, name);
H A DSubversionRepository.java114 // set to true if we manage to find the root directory
145 String root =
146 getValue(document.getElementsByTagName("root").item(0));
147 if (url != null && root != null) {
148 reposPath = url.substring(root.length());
178 * root)
H A DFileHistoryCache.java104 throw new HistoryException("Failed to get path relative to source root for '"
208 File root = RuntimeEnvironment.getConfig().getSourceRootFile();
215 File file = new File(root, e.getKey());
303 + repos.getDirectoryName() + "' relative to source root", e);
H A DHistoryGuru.java171 * source root).
188 * source root).
203 * source root).
222 * incl. source root).
268 * @param parent The directory (canonical path incl. source root) containing
291 * @param file The name of the directory (canonical path incl. source root).
309 * @param file the file to check (canonical path incl. source root).
331 * source root).
342 // if source root
455 * @param dir the root director
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DSearch.java126 String root = RuntimeEnvironment.getConfig().getSourceRoot();
130 File file = new File(root, hit.getPath());
151 File file = new File(root, hit.getPath());
H A DSearchEngine.java174 * @param root which db to search
178 private void searchSingleDatabase(File root,boolean paging) throws IOException { argument
180 ireader = IndexReader.open(FSDirectory.open(root));
201 * @param root list of projects to search
204 private void searchMultiDatabase(List<Project> root,boolean paging) argument
207 IndexReader[] subreaders = new IndexReader[root.size()];
210 for (Project project : root) {
268 File root = new File(cfg.getDataRootFile(), "index");
278 searchSingleDatabase(root, true);
/opengrok-jel/lib/
H A Djrcs.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/jrcs/ ...

Completed in 32 milliseconds