Thanks for the patch but I think "new" is the best description.
As you can see on ContentImpl.java:510 the revisionDescriptor parameter
is used to create the new revision.
You are correct in that you probably want to start from an old one but
you need an example to explain the whole process.

If you have other remarks / examples, please post them.

Best Regards
Dirk


Leandro Rodrigo Saad Cruz wrote:
> 
> While I was trying to create diferent revisions off the same node I
> realized that Content javadoc could be more helpfull.
> 
> Index: Content.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-slide/src/share/org/apache/slide/content/Content.java,v
> retrieving revision 1.8
> diff -b -B -r1.8 Content.java
> 171c171,172
> <      * Create new revision descriptors.
> ---
> >      * Create new revision descriptors.<br>
> >      * Use this method to create a new NodeRevisionDescriptors that do
> auto-versioning
> 184c185
> <      * Create new revision in main branch.
> ---
> >      * Create new revision in main branch based on a old
> NodeRevisionDescriptor
> 187c188
> <      * @param revisionDescriptor New Node revision descriptor
> ---
> >      * @param       Old Node revision descriptor
> 199c200
> <      * Create new revision based on a previous revision.
> ---
> >      * Create new revision in a branch based on a previous
> NodeRevisionDescriptor
> 203c204
> <      * @param newRevisionDescriptor New revision descriptor
> ---
> >      * @param olsRevisionDescriptor Old revision descriptor
> 
> --
> Leandro Rodrigo Saad Cruz
> IT - Inter Business Tecnologia e Servicos (IB)
> http://www.ibnetwork.com.br
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to