/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | BazaarTagEntry.java | 33 public BazaarTagEntry(int revision, String tag) { argument 34 super(revision, tag); 39 assert this.revision != NOREV : "BazaarTagEntry created without tag specified.specified"; 40 return ((Integer) this.revision).compareTo(Integer.parseInt(that.getRevision()));
|
H A D | MercurialTagEntry.java | 33 public MercurialTagEntry(int revision, String tag) { argument 34 super(revision, tag); 39 assert this.revision != NOREV : "Mercurial TagEntry created without revision specified"; 41 assert revs.length == 2 : "Unable to parse revision format"; 42 return ((Integer) this.revision).compareTo(Integer.parseInt(revs[0]));
|
H A D | TagEntry.java | 28 * Class representing tag as Pair<revision, tag string>. Has overloaded 29 * equals() using only revision string. 35 protected int revision; field in class:TagEntry 37 * If repo uses linear revision numbering 45 * Tag of the revision 57 * @param revision 60 public TagEntry(int revision, String tags) { argument 61 this.revision = revision; 70 this.revision [all...] |
H A D | Annotation.java | 45 * Class representing file annotation, i.e., revision and author for the last 54 private final Map<String, Integer> fileVersions = new HashMap<String, Integer>(); //maps revision to file version 64 * Gets the revision for the last change to the specified line. 67 * @return revision string, or an empty string if there is no information 72 return lines.get(line-1).revision; 87 ret.add(ln.revision); 111 * @return true if the xref for this revision is enabled, false otherwise 131 * Returns the widest revision string in the file (used for pretty 134 * @return number of characters in the widest revision string 152 * @param revision revisio 155 addLine(String revision, String author, boolean enabled) argument 162 addDesc(String revision, String description) argument 166 getDesc(String revision) argument 170 addFileVersion(String revision, int fileVersion) argument 179 getFileVersion(String revision) argument 196 final String revision; field in class:Annotation.Line [all...] |
H A D | SCCSget.java | 35 public static InputStream getRevision(String command, File file, String revision) throws IOException { argument 41 if (revision != null) { 42 argv.add("-r"+revision);
|
H A D | HistoryEntry.java | 38 * Collect all information of a given revision 46 private String revision; field in class:HistoryEntry 67 this.revision = that.revision; 77 public HistoryEntry(String revision, Date date, String author, argument 79 this.revision = revision; 90 return revision + " " + date + " " + author + " " + message + "\n"; 95 LOGGER.log(Level.FINE, "HistoryEntry : revision = {0}", revision); 171 setRevision(String revision) argument [all...] |
H A D | RCSRepository.java | 67 "Failed to retrieve revision " + rev + " of " + basename, ioe); 78 Annotation annotate(File file, String revision) throws IOException { argument 80 return rcsFile == null ? null : annotate(file, revision, rcsFile); 83 static Annotation annotate(File file, String revision, File rcsFile) argument 87 // If revision is null, use current revision 88 Version version = revision == null ? archive.getRevisionVersion() : archive.getRevisionVersion(revision); 89 // Get the revision with annotation
|
H A D | SCCSHistoryParser.java | 58 private String revision; field in class:SCCSHistoryParser 119 // to flag that revision needs to be re populated if you really need it 120 revision = null; 125 if(revision == null) { 128 revision = f[1]; 146 * @return get the revision string of current log record 150 return revision;
|
H A D | SSCMHistoryParser.java | 103 String revision = matcher.group(4); 110 currentRevision = Long.parseLong(revision); 112 LOGGER.log(Level.WARNING, "Failed to parse revision: '" + revision + "'", ex); 125 entry.setRevision(revision);
|
H A D | MonotoneRepository.java | 74 String revision = rev; 80 String argv[] = {RepoCommand, "cat", "-r", revision, filename}; 149 * Pattern used to extract author/revision from hg annotate. 155 * Annotate the specified file/revision. 158 * @param revision revision to annotate 163 public Annotation annotate(File file, String revision) throws IOException { argument 169 if (revision != null) { 171 cmd.add(revision);
|
H A D | CVSRepository.java | 64 * Pattern used to extract author/revision from cvs annotate. 185 "Failed to get revision tag of {0}", 214 String revision = rev; 217 revision = rev.substring(0, rev.indexOf(':')); 221 String argv[] = {RepoCommand, "up", "-p", "-r", revision, basename}; 274 Annotation annotate(File file, String revision) throws IOException { argument 279 if (revision != null) { 281 cmd.add(revision);
|
H A D | Repository.java | 58 * List of <revision, tags> pairs for repositories which display tags 84 * Get the history after a specified revision. 96 * @param sinceRevision the revision right before the first one to return, 124 // Found revision right before the first one to return. 140 * @param revision the revision we expect the oldest entry to have 144 String revision) 150 // we expected it to be, since some SCMs may change the revision 151 // numbers so that identical revision numbers does not always mean 154 if (entry == null || !revision 143 removeAndVerifyOldestChangeset(List<HistoryEntry> entries, String revision) argument 260 annotate(File file, String revision) argument [all...] |
H A D | MercurialRepository.java | 107 * Pattern used to extract author/revision from hg annotate. 163 // (this is necessary for getting the original name in given revision 201 * Try to get file contents for given revision. 204 * @param rev revision 205 * @return contents of the file in revision rev 213 String revision = rev; 216 revision = rev.substring(0, rev.indexOf(':')); 222 String argv[] = {RepoCommand, "cat", "-r", revision, filename}; 265 * Get the name of file in given revision 268 * @param full_rev_to_find revision numbe 414 annotate(File file, String revision) argument [all...] |
H A D | GitRepository.java | 86 * Pattern used to extract author/revision from git blame. 101 * @param revision commit hash to track the path of the file 104 private String getCorrectPath(String fileName, String revision) throws IOException { argument 125 String pattern = "^\\W*" + revision + " (.+?) .*$"; 304 * Annotate the specified file/revision. 307 * @param revision revision to annotate 312 public Annotation annotate(File file, String revision) throws IOException { argument 319 if (revision != null) { 320 cmd.add(revision); [all...] |
H A D | RepoRepository.java | 119 Annotation annotate(File file, String revision) { argument
|
H A D | DirectoryHistoryReader.java | 72 // It maps date -> author -> (comment, revision) -> [ list of files ] 188 private void put(Date date, String revision, String author, String comment, String path) { argument 207 cr.add(revision); 262 String revision = entry.getRevision(); 263 put(cdate, revision, cauthor, comment, rpath);
|
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
H A D | Line.java | 61 * An annotated line of a revision. 63 * that indicates the revision in which the line was last added or changed. 74 Node revision; field in class:Line 77 Line(Node revision, Object text) argument 80 this.revision = revision; 106 return revision;
|
H A D | DeltaDelTextLine.java | 29 { l.revision = prev; }
|
H A D | Lines.java | 68 * A list of the lines in the text of a revision annotated with the 123 result[x] = ((Line)get(x)).revision;
|
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/ |
H A D | RevisionVisitor.java | 66 public void visit(Revision revision); argument
|
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | DiffData.java | 45 /** the original and new revision container */ 46 public Revision revision; field in class:DiffData 50 /** the revision names extracted from {@link #param} */
|
/opengrok/test/org/opensolaris/opengrok/history/ |
H A D | PerforceRepositoryTest.java | 98 String revision = entry.getRevision(); 100 f.getParent(), f.getName(), revision); 101 assertNotNull("Failed to get revision " + revision + 107 instance.annotate(f, revision));
|
H A D | HistoryGuruTest.java | 114 String revision = entry.getRevision(); 116 f.getParent(), f.getName(), revision)) { 117 assertNotNull("Failed to get revision " + revision
|
H A D | HistoryEntryTest.java | 185 String revision = "1.2"; 186 instance.setRevision(revision); 187 assertEquals(revision, instance.getRevision());
|
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/myers/ |
H A D | MyersDiff.java | 199 Revision revision = new Revision(); 215 revision.insertDelta(delta); 219 return revision;
|