Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgManifestCommand.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 | ee8264d80747 |
comparison
equal
deleted
inserted
replaced
367:2fadf8695f8a | 368:8107b95f4280 |
---|---|
53 repo = hgRepo; | 53 repo = hgRepo; |
54 } | 54 } |
55 | 55 |
56 /** | 56 /** |
57 * Parameterize command to visit revisions <code>[rev1..rev2]</code>. | 57 * Parameterize command to visit revisions <code>[rev1..rev2]</code>. |
58 * @param rev1 - local revision index to start from. Non-negative. May be {@link HgRepository#TIP} (rev2 argument shall be {@link HgRepository#TIP} as well, then) | 58 * @param rev1 - revision local index to start from. Non-negative. May be {@link HgRepository#TIP} (rev2 argument shall be {@link HgRepository#TIP} as well, then) |
59 * @param rev2 - local revision index to end with, inclusive. Non-negative, greater or equal to rev1. May be {@link HgRepository#TIP}. | 59 * @param rev2 - revision local index to end with, inclusive. Non-negative, greater or equal to rev1. May be {@link HgRepository#TIP}. |
60 * @return <code>this</code> for convenience. | 60 * @return <code>this</code> for convenience. |
61 * @throws IllegalArgumentException if revision arguments are incorrect (see above). | 61 * @throws IllegalArgumentException if revision arguments are incorrect (see above). |
62 */ | 62 */ |
63 public HgManifestCommand range(int rev1, int rev2) { | 63 public HgManifestCommand range(int rev1, int rev2) { |
64 // XXX if manifest range is different from that of changelog, need conversion utils (external?) | 64 // XXX if manifest range is different from that of changelog, need conversion utils (external?) |