Searched defs:revision (Results 1 - 25 of 25) sorted by relevance

/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/
H A DRevisionVisitor.java66 public void visit(Revision revision); argument
/opengrok/src/org/opensolaris/opengrok/history/
H A DSCCSget.java35 public static InputStream getRevision(String command, File file, String revision) throws IOException { argument
41 if (revision != null) {
42 argv.add("-r"+revision);
H A DBazaarTagEntry.java33 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 DMercurialTagEntry.java33 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 DTagEntry.java28 * 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 DRepoRepository.java119 Annotation annotate(File file, String revision) { argument
H A DDirectoryHistoryReader.java72 // 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);
H A DRCSRepository.java67 "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 DAnnotation.java45 * 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 DClearCaseRepository.java202 * Annotate the specified file/revision.
205 * @param revision revision to annotate
210 public Annotation annotate(File file, String revision) throws IOException { argument
223 if (revision != null) {
224 argv.add(revision);
H A DHistoryEntry.java38 * 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 DSCCSHistoryParser.java58 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 DSCCSRepository.java77 "An error occured while getting revision", ex);
83 * Pattern used to extract revision from sccs get
136 * Pattern used to extract revision from sccs get
142 * Annotate the specified file/revision.
145 * @param revision revision to annotate
150 public Annotation annotate(File file, String revision) throws IOException { argument
161 if (revision != null) {
162 argv.add("-r" + revision);
H A DMonotoneRepository.java74 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 DSSCMRepository.java215 "Failed get revision {2} for: \"{0}\" Exit code: {1}",
289 * Annotate the specified file/revision.
292 * @param revision revision to annotate
296 Annotation annotate(File file, String revision) throws IOException { argument
312 if (revision != null) {
313 argv.add("-aV:" + revision);
321 new Object[]{file.getAbsolutePath(), String.valueOf(status), revision});
H A DBazaarRepository.java148 * Pattern used to extract author/revision from bzr blame.
154 * Annotate the specified file/revision.
157 * @param revision revision to annotate
162 public Annotation annotate(File file, String revision) throws IOException { argument
169 if (revision != null) {
171 cmd.add(revision);
H A DCVSRepository.java64 * 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 DRazorRepository.java67 * (Archive, History, Info, Scripts and Tables). When file revision control is
253 Annotation annotate(File file, String revision) argument
258 return RCSRepository.annotate(file, revision, rcsFile);
264 return (new SCCSRepository()).annotate(sccsFile, revision);
H A DSubversionRepository.java173 * @param sinceRevision the revision number immediately preceding the first
174 * revision we want, or {@code null} to fetch the entire
204 // because there is no such revision as sinceRevision+1. Instead,
205 // fetch the unneeded revision and remove it later.
332 rev = attr.getValue("revision");
359 public Annotation annotate(File file, String revision) throws IOException { argument
376 if (revision != null) {
378 argv.add(revision);
H A DGitRepository.java86 * 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 DMercurialRepository.java107 * 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 DRepository.java58 * List of &lt;revision, tags&gt; 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 DJDBCHistoryCache.java562 * Statement for getting ID of given revision
644 String revision = rs.getString(1);
649 revision, time, author, null, message, true);
719 * Get ID value for revision string by querying the DB.
721 * @param revision
724 private int getIdForRevision(String revision, int repoId) throws SQLException { argument
729 ps.setString(1, revision);
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DLine.java61 * 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;
/opengrok/src/org/opensolaris/opengrok/web/
H A DDiffData.java45 /** the original and new revision container */
46 public Revision revision; field in class:DiffData
50 /** the revision names extracted from {@link #param} */

Completed in 58 milliseconds