/opengrok-sun/src/org/opensolaris/opengrok/history/ |
H A D | BazaarTagEntry.java | 14 public BazaarTagEntry(int revision, String tag) { argument 15 super(revision, tag); 20 assert this.revision != NOREV : "BazaarTagEntry created without tag specified.specified"; 21 return ((Integer)this.revision).compareTo(Integer.parseInt(that.getRevision()));
|
H A D | MercurialTagEntry.java | 14 public MercurialTagEntry(int revision, String tag) { argument 15 super(revision, tag); 20 assert this.revision != NOREV : "Mercurial TagEntry created without revision specified"; 22 assert revs.length == 2 : "Unable to parse revision format"; 23 return ((Integer)this.revision).compareTo(Integer.parseInt(revs[0]));
|
H A D | TagEntry.java | 9 * Class representing tag as Pair<revision, tag string>. Has overloaded equals() 10 * using only revision string. 16 protected int revision; /**< If repo uses linear revision numbering */ field in class:TagEntry 18 protected String tags; /**< Tag of the revision */ 21 public TagEntry(int revision, String tags) { argument 22 this.revision = revision; 31 this.revision = NOREV; 62 if (this.revision ! [all...] |
H A D | Annotation.java | 43 * Class representing file annotation, i.e., revision and author for the last 60 * Gets the revision for the last change to the specified line. 63 * @return revision string, or an empty string if there is no information 68 return lines.get(line-1).revision; 83 ret.add(ln.revision); 107 * @return true if the xref for this revision is enabled, false otherwise 127 * Returns the widest revision string in the file (used for pretty 130 * @return number of characters in the widest revision string 148 * @param revision revision numbe 151 addLine(String revision, String author, boolean enabled) argument 158 addDesc(String revision, String description) argument 162 getDesc(String revision) argument 168 final String revision; field in class:Annotation.Line [all...] |
H A D | HistoryEntry.java | 38 * Collect all information of a given revision 43 private String revision; field in class:HistoryEntry 64 this.revision = that.revision; 74 public HistoryEntry(String revision, Date date, String author, argument 76 this.revision = revision; 87 return revision + " " + date + " " + author + " " + message + "\n"; 93 log.log(Level.FINE, "HistoryEntry : revision = {0}", revision); 165 setRevision(String revision) argument [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 | RCSRepository.java | 63 "Failed to retrieve revision " + rev + " of " + basename, ioe); 74 Annotation annotate(File file, String revision) throws IOException { argument 76 return rcsFile == null ? null : annotate(file, revision, rcsFile); 79 static Annotation annotate(File file, String revision, File rcsFile) argument 83 // If revision is null, use current revision 84 Version version = revision == null ? archive.getRevisionVersion() : archive.getRevisionVersion(revision); 85 // Get the revision with annotation
|
H A D | SCCSHistoryParser.java | 53 private String revision; field in class:SCCSHistoryParser 114 // to flag that revision needs to be re populated if you really need it 115 revision = null; 120 if(revision == null) { 123 revision = f[1]; 141 * @return get the revision string of current log record 145 return revision;
|
H A D | Repository.java | 52 * List of <revision, tags> pairs for repositories which display tags 77 * Get the history after a specified revision. 89 * @param sinceRevision the revision right before the first one to return, 118 // Found revision right before the first one to return. 134 * @param revision the revision we expect the oldest entry to have 138 String revision) 144 // we expected it to be, since some SCMs may change the revision 145 // numbers so that identical revision numbers does not always mean 148 if (entry == null || !revision 137 removeAndVerifyOldestChangeset(List<HistoryEntry> entries, String revision) argument 250 annotate(File file, String revision) argument [all...] |
H A D | CVSRepository.java | 133 "Failed to get revision tag of {0}", 168 String revision = rev; 171 revision = rev.substring(0, rev.indexOf(':')); 175 String argv[] = {cmd, "up", "-p", "-r", revision, basename}; 228 Annotation annotate(File file, String revision) throws IOException { argument 233 if (revision != null) { 235 cmd.add(revision); 251 /** Pattern used to extract author/revision from cvs annotate. */
|
H A D | MercurialRepository.java | 131 String revision = rev; 134 revision = rev.substring(0, rev.indexOf(':')); 140 String argv[] = {cmd, "cat", "-r", revision, filename}; 174 /** Pattern used to extract author/revision from hg annotate. */ 179 * Annotate the specified file/revision. 182 * @param revision revision to annotate 186 public Annotation annotate(File file, String revision) throws IOException { argument 192 if (revision != null) { 194 if (revision [all...] |
H A D | MonotoneRepository.java | 69 String revision = rev; 75 String argv[] = {cmd, "cat", "-r", revision, filename}; 134 /** Pattern used to extract author/revision from hg annotate. */ 139 * Annotate the specified file/revision. 142 * @param revision revision to annotate 146 public Annotation annotate(File file, String revision) throws IOException { argument 152 if (revision != null) { 154 cmd.add(revision);
|
H A D | GitRepository.java | 69 * @param revision commit hash to track the path of the file 72 private String getCorrectPath(String fileName, String revision) throws IOException { argument 92 String pattern = "^\\W*" + revision + " (.+?) .*$"; 218 /** Pattern used to extract author/revision from git blame. */ 223 * Annotate the specified file/revision. 226 * @param revision revision to annotate 230 public Annotation annotate(File file, String revision) throws IOException { argument 236 if (revision != null) { 237 cmd.add(revision); [all...] |
H A D | RepoRepository.java | 112 Annotation annotate(File file, String revision) { argument
|
H A D | PerforceRepository.java | 92 String revision = matcher.group(1); 93 String author = revAuthor.get(revision); 94 a.addLine(revision, author, true);
|
H A D | RazorHistoryParser.java | 161 String revision = actionMatcher.group(3); 164 parseDebug("New History Event Seen : actionType = " + actionType + ", userName = " + userName + ", revision = " + revision + ", state = " + state + ", dateTime = " + dateTime); 170 entry.setRevision(revision);
|
/opengrok-sun/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-sun/platform/solaris/ips/ |
H A D | create.sh | 28 revision=0.`uname -v | perl -ne 's/(\d+)/print "$1\n"/e'` 40 eval `pkgsend open OSOLopengrok@${version}-${revision}` 43 echo "Fatal: could not open OSOLopengrok@${version}-${revision}"
|
/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/diff/ |
H A D | RevisionVisitor.java | 66 public void visit(Revision revision); argument
|
/opengrok-sun/src/org/opensolaris/opengrok/web/ |
H A D | DiffData.java | 44 /** the orignal and new revision container */ 45 public Revision revision; field in class:DiffData 49 /** the revision names extracted from {@link #param} */
|
/opengrok-sun/test/org/opensolaris/opengrok/history/ |
H A D | PerforceRepositoryTest.java | 92 String revision = entry.getRevision(); 94 f.getParent(), f.getName(), revision); 95 assertNotNull("Failed to get revision " + revision + 101 instance.annotate(f, revision));
|
H A D | HistoryGuruTest.java | 113 String revision = entry.getRevision(); 115 f.getParent(), f.getName(), revision); 116 assertNotNull("Failed to get revision " + revision +
|
/opengrok-sun/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;
|