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

/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/diff/
H A DRevisionVisitor.java67 public void visit(Revision revision); argument
/opengrok-jel/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 DRCSRepository.java75 logger.warning("Failed to retrieve revision '" + rev + "' of '"
94 protected Annotation annotate(File file, String revision) throws IOException { argument
96 return rcsFile == null ? null : annotate(file, revision, rcsFile);
99 static Annotation annotate(File file, String revision, File rcsFile) argument
103 // If revision is null, use current revision
104 Version version = revision == null
106 : archive.getRevisionVersion(revision);
107 // Get the revision with annotation
H A DRepoRepository.java147 protected Annotation annotate(File file, String revision) { argument
H A DSCCSRepository.java78 logger.warning("An error occured while getting revision: "
85 /** Pattern used to extract revision from sccs get */
137 /** Pattern used to extract revision from sccs get */
146 public Annotation annotate(File file, String revision) throws IOException { argument
156 if (revision != null) {
157 argv.add("-r" + revision);
H A DBazaarRepository.java149 /** Pattern used to extract author/revision from bzr blame. */
154 * Annotate the specified file/revision.
157 * @param revision revision to annotate
161 public Annotation annotate(File file, String revision) throws IOException { argument
168 if (revision != null) {
170 cmd.add(revision);
H A DCVSRepository.java156 logger.warning("Failed to get revision tag of '"
193 String revision = rev;
196 revision = rev.substring(0, rev.indexOf(':'));
200 String argv[] = {cmd, "up", "-p", "-r", revision, basename};
264 protected Annotation annotate(File file, String revision) throws IOException { argument
269 if (revision != null) {
271 cmd.add(revision);
286 /** Pattern used to extract author/revision from cvs annotate. */
H A DClearCaseRepository.java204 public Annotation annotate(File file, String revision) throws IOException { argument
217 if (revision != null) {
218 argv.add(revision);
H A DGitRepository.java90 * @param revision commit hash to track the path of the file
93 private String getCorrectPath(String fileName, String revision) argument
115 String pattern = "^\\W*" + revision + " (.+?) .*$";
135 * the non-hybrid repository. Key is the full git revision aka 'hash', the
136 * corresponding value is the revision string in the non-hybrid repository.
374 /** Pattern used to extract author/revision from git blame. */
382 public Annotation annotate(File file, String revision) throws IOException { argument
388 if (revision != null) {
389 cmd.add(revision);
412 String pattern = "^\\W*" + revision
[all...]
H A DHistoryEntry.java36 * Collect all information of a given revision
41 private String revision; field in class:HistoryEntry
62 * @param revision revision ID of the changeset.
63 * @param oldRevision revision ID of the changeset in the non-hybrid repo.
71 public HistoryEntry(String revision, String oldRevision, Date date, argument
74 this.revision = revision;
85 return revision + " " + date + " " + author + " " + message + "\n";
93 log.log(Level.FINE, "HistoryEntry : revision
173 setRevision(String revision) argument
182 setOldRevision(String revision) argument
[all...]
H A DMonotoneRepository.java79 String revision = rev;
85 String argv[] = { cmd, "cat", "-r", revision, filename };
152 /** Pattern used to extract author/revision from hg annotate. */
160 public Annotation annotate(File file, String revision) throws IOException { argument
166 if (revision != null) {
168 cmd.add(revision);
H A DRazorRepository.java61 * directories (Archive, History, Info, Scripts and Tables). When file revision
273 protected Annotation annotate( File file, String revision) throws IOException { argument
277 return RCSRepository.annotate(file, revision, rcsFile);
283 return (new SCCSRepository()).annotate(sccsFile, revision);
H A DRepository.java87 * Get the history after a specified revision.
100 * @param sinceRevision the revision right before the first one to return,
128 // Found revision right before the first one to return.
144 * @param revision the revision we expect the oldest entry to have
149 String revision) throws HistoryException
155 // we expected it to be, since some SCMs may change the revision
156 // numbers so that identical revision numbers does not always mean
159 if (entry == null || !revision.equals(entry.getRevision())) {
160 throw new HistoryException("Cached revision '"
148 removeAndVerifyOldestChangeset(List<HistoryEntry> entries, String revision) argument
196 annotate(File file, String revision) argument
[all...]
H A DSCCSHistoryParser.java54 private String revision; field in class:SCCSHistoryParser
115 // to flag that revision needs to be re populated if you really need it
116 revision = null;
121 if(revision == null) {
124 revision = f[1];
143 * @return get the revision string of current log record
147 return revision;
H A DAnnotation.java36 * Class representing file annotation, i.e., revision and author for the last
65 * Gets the revision for the last change to the specified line.
68 * @return revision string, or an empty string if there is no information
108 * Returns the widest revision string in the file (used for pretty
111 * @return number of characters in the widest revision string
127 String rev; // revision column in html view
142 * @param revision revision number
145 void addLine(String revision, String author) { argument
146 if (revision
253 addDesc(String revision, String changeset, String msg, String user, Date date) argument
271 getDesc(String revision) argument
[all...]
H A DMercurialRepository.java145 * the non-hybrid repository. Key is the full hg revision aka
146 * 'node', the corresponding value is the revision string in the non-hybrid
301 String revision = rev;
304 revision = rev.substring(0, rev.indexOf(':'));
313 String argv[] = {cmd, "cat", "-r", revision, filename};
346 /** Pattern used to extract author/revision from hg annotate. */
354 public Annotation annotate(File file, String revision) throws IOException { argument
360 if (revision != null) {
362 if (revision.indexOf(':') == -1) {
363 argv.add(revision);
[all...]
H A DSubversionRepository.java179 * @param sinceRevision the revision number immediately preceding the first
180 * revision we want, or {@code null} to fetch the entire history
205 // because there is no such revision as sinceRevision+1. Instead,
206 // fetch the unneeded revision and remove it later.
300 rev = attr.getValue("revision");
323 public Annotation annotate(File file, String revision) throws IOException { argument
343 if (revision != null) {
345 argv.add(revision);
/opengrok-jel/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;
110 return revision;
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DDiffData.java32 * For HTML revision escaping is usually not needed, but filenames should be.
45 /** the orignal and new revision container */
46 public Revision revision; field in class:DiffData
53 /** revision part of the URI request parameter 'r1' (decoded).
56 /** revision part of the URI request parameter 'r2' (decoded).
/opengrok-jel/lib/
H A Djrcs.jar ... org.apache.commons.jrcs.diff.Revision diff (java.lang.Object[], java.lang. ...

Completed in 28 milliseconds