Mercurial > hg4j
comparison src/org/tmatesoft/hg/repo/HgDataFile.java @ 368:8107b95f4280
Update Javadoc with 'revision index'
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 16 Dec 2011 16:00:57 +0100 |
parents | 2fadf8695f8a |
children | 9517df1ef7ec |
comparison
equal
deleted
inserted
replaced
367:2fadf8695f8a | 368:8107b95f4280 |
---|---|
99 public int length(Nodeid nodeid) throws HgDataStreamException, HgInvalidControlFileException, HgInvalidRevisionException { | 99 public int length(Nodeid nodeid) throws HgDataStreamException, HgInvalidControlFileException, HgInvalidRevisionException { |
100 return length(getRevisionIndex(nodeid)); | 100 return length(getRevisionIndex(nodeid)); |
101 } | 101 } |
102 | 102 |
103 /** | 103 /** |
104 * @param fileRevisionIndex local revision index, non-negative. From predefined constants, only {@link HgRepository#TIP} makes sense. | 104 * @param fileRevisionIndex - revision local index, non-negative. From predefined constants, only {@link HgRepository#TIP} makes sense. |
105 * @return size of the file content at the revision identified by local revision number. | 105 * @return size of the file content at the revision identified by local revision number. |
106 * @throws HgInvalidRevisionException if supplied argument doesn't represent revision index in this revlog | 106 * @throws HgInvalidRevisionException if supplied argument doesn't represent revision index in this revlog |
107 * @throws HgDataStreamException if attempt to access file metadata failed | 107 * @throws HgDataStreamException if attempt to access file metadata failed |
108 * @throws HgInvalidControlFileException if access to revlog index/data entry failed | 108 * @throws HgInvalidControlFileException if access to revlog index/data entry failed |
109 */ | 109 */ |
200 } | 200 } |
201 } | 201 } |
202 | 202 |
203 /** | 203 /** |
204 * | 204 * |
205 * @param fileRevisionIndex local revision index, non-negative. From predefined constants, {@link HgRepository#TIP} and {@link HgRepository#WORKING_COPY} make sense. | 205 * @param fileRevisionIndex - revision local index, non-negative. From predefined constants, {@link HgRepository#TIP} and {@link HgRepository#WORKING_COPY} make sense. |
206 * @param sink | 206 * @param sink |
207 * @throws HgDataStreamException FIXME | 207 * @throws HgDataStreamException FIXME |
208 * @throws HgInvalidControlFileException | 208 * @throws HgInvalidControlFileException |
209 * @throws CancelledException | 209 * @throws CancelledException |
210 * @throws HgInvalidRevisionException | 210 * @throws HgInvalidRevisionException |