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

/opengrok-sun/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;
43 { ((DeltaTextLine)deltaStack.pop()).patch(root, prev, lines); }
48 { ((DeltaTextLine)deltaStack.pop()).patchAnnotate(root, prev, lines); }
H A DDeltaTextLine.java7 public void patch(Node root, Node prev, List lines); argument
9 public void patchAnnotate(Node root, Node prev, List lines); argument
H A DDeltaAddTextLine.java21 public void patch(Node root, Node prev, List lines) argument
25 lines.add(atLine+i, new Line(root, rcsText[rcsTextOffset+i]));
30 public void patchAnnotate(Node root, Node prev, List lines) argument
H A DPath.java232 Node root = n.root();
234 ((TrunkNode)n).newpatch0(lines, root);
248 n.newpatch(lines, false, root);
251 // Annotate to root
252 if (root != n)
256 Path ap = n.rcsnext.pathTo(root.version);
263 tn.newpatch(annoList, true, root);
H A DDeltaDelTextLine.java16 public void patch(Node root, Node prev, List lines) argument
22 public void patchAnnotate(Node root, Node prev, List lines) argument
H A DTrunkNode.java187 void newpatch0(List original, Node root) argument
191 original.add(new Line(root, text[i]));
H A DNode.java250 * Return the root node of the node hierarchy.
251 * @return The root node.
253 public Node root() method in class:Node
582 void newpatch(List original, boolean annotate, Node root) throws InvalidFileFormatException argument
584 DeltaText dt = new DeltaText(root, this.child, annotate);
H A DArchive.java1157 * the root revision.
1166 * and the root revision.
1171 return changeLog(latest, head.root().version);
/opengrok-sun/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-sun/test/org/opensolaris/opengrok/util/
H A DFileUtilities.java45 public static void extractArchive(File sourceBundle, File root) throws IOException { argument
52 File file = new File(root, ze.getName());
65 public static void removeDirs(File root) { argument
66 for (File f : root.listFiles()) {
73 root.delete();
87 public static void getAllFiles(File root, List<File> files, boolean directories) { argument
90 files.add(root);
95 for (File f : root.listFiles()) {
/opengrok-sun/tools/init.d/
H A Dopengrok.sh25 # The root direction of this opengrok installation
49 ADMINISTRATOR=root@localhost; export ADMINISTRATOR
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DRCSHistoryParser.java48 private static File readCVSRoot(File root, File CVSdir, String name) throws IOException { argument
49 String cvsroot = readFirstLine(root);
85 n = n.root();
140 File root = new File(CVSdir, "Root");
141 if (root.canRead()) {
142 return readCVSRoot(root, CVSdir, name);
H A DSubversionRepository.java92 // set to true if we manage to find the root directory
121 String root =
122 getValue(document.getElementsByTagName("root").item(0));
123 if (url != null && root != null) {
124 reposPath = url.substring(root.length());
H A DFileHistoryCache.java99 throw new HistoryException("Failed to get path relative to source root for " + file, e);
200 File root = RuntimeEnvironment.getInstance().getSourceRootFile();
213 File file = new File(root, e.getKey());
294 throw new HistoryException("Could not resolve "+repos.getDirectoryName()+" relative to source root", e);
H A DHistoryGuru.java371 * @param dir the root directory to start the search in.
581 File root = RuntimeEnvironment.getInstance().getSourceRootFile();
583 File f = new File(root, file);
601 * @param file the root path to test
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DEftarFile.java200 private Node root; field in class:EftarFile
212 if (root == null) {
213 root = new Node(1, null);
222 Node n = root;
233 traverse(root);
237 out.writeShort(root.children.size());
240 write(root);
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearch.java124 String root = RuntimeEnvironment.getInstance().getSourceRootPath();
127 File file = new File(root, hit.getPath());
146 File file = new File(root, hit.getPath());
H A DSearchEngine.java159 * @param root which db to search
162 private void searchSingleDatabase(File root, boolean paging) throws IOException { argument
163 IndexReader ireader = DirectoryReader.open(FSDirectory.open(root));
184 * @param root list of projects to search
187 private void searchMultiDatabase(List<Project> root, boolean paging) throws IOException { argument
188 IndexReader[] subreaders = new IndexReader[root.size()];
191 for (Project project : root) {
241 File root = new File(env.getDataRootFile(), "index");
250 searchSingleDatabase(root, true);
/opengrok-sun/lib/
H A Djrcs.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/jrcs/ ...

Completed in 57 milliseconds