That should be the way it works if you have turned off auto-versioning. Here's an example using the SLIDE command line client:
Show that the file is under version control [LOCALHOST:/slide-prod-tm/files/] C:\ $ report test.txt Getting version-tree Report of '/slide-prod-tm/files/test.txt': /slide-prod-tm/history/635/1.0 Get the file. [LOCALHOST:/slide-prod-tm/files/] C:\ $ get test.txt get /slide-prod-tm/files/test.txt C:\test.txt Downloading '/slide-prod-tm/files/test.txt' to 'C:\test.txt': succeeded Try and write it back without locking/checking it out. [LOCALHOST:/slide-prod-tm/files/] C:\ $ put test.txt Aleady exists. Do you want to overwrite it(y/n)? y Uploading 'C:\test.txt' to '/slide-prod-tm/files/test.txt' failed. Forbidden (403) Lock it. [LOCALHOST:/slide-prod-tm/files/] C:\ $ lock test.txt Locking '/slide-prod-tm/files/test.txt' scope:0 timeout:120 :succeeded. Try and write it back without locking it. [LOCALHOST:/slide-prod-tm/files/] C:\ $ put test.txt Aleady exists. Do you want to overwrite it(y/n)? y Uploading 'C:\test.txt' to '/slide-prod-tm/files/test.txt' failed. Forbidden (403) Now check it out. [LOCALHOST:/slide-prod-tm/files/] C:\ $ check-out test.txt Error: invalid command: check-out [LOCALHOST:/slide-prod-tm/files/] C:\ $ co test.txt Error: invalid command: co [LOCALHOST:/slide-prod-tm/files/] C:\ $ checkout test.txt checking out '/slide-prod-tm/files/test.txt': succeeded. Write succeeds. [LOCALHOST:/slide-prod-tm/files/] C:\ $ put test.txt Aleady exists. Do you want to overwrite it(y/n)? y Uploading 'C:\test.txt' to '/slide-prod-tm/files/test.txt' succeeded. Check it back in and unlock it. [LOCALHOST:/slide-prod-tm/files/] C:\ $ checkin test.txt checking in '/slide-prod-tm/files/test.txt': succeeded. [LOCALHOST:/slide-prod-tm/files/] C:\ $ unlock test.txt Unlocking '/slide-prod-tm/files/test.txt': succeeded. [LOCALHOST:/slide-prod-tm/files/] C:\ $ > -----Original Message----- > From: chek75005 [SMTP:[EMAIL PROTECTED] > Sent: Sunday, 23 April 2006 3:10 > To: Slide Users Mailing List > Subject: Re: Cancel "auto-version" behavior > > Thank you for your answer, but I've already tried to play with > auto-version parameter and I haven't found what I want. Maybe, I > didn't understand all options. :-) > > I would like that my users have only the following sequence to modify > a document : > 1- checkout the document > 2- PUT action to modify the document > 3-checkin the document > > If the user forgets the checkout action, I would like there is an > error on the PUT action. > > I don't know if it's is possible > > Thanks in advance for your help > > Regards > > 2006/4/18, MARENDY, Anthony <[EMAIL PROTECTED]>: > > Set the auto-version parameter in domain.xml as discussed here: > > http://jakarta.apache.org/slide/howto-deltav.html > > > > > > Anthony. > > > > > > > -----Original Message----- > > > From: chek75005 [SMTP:[EMAIL PROTECTED] > > > Sent: Sunday, 16 April 2006 8:40 > > > To: [email protected] > > > Subject: Cancel "auto-version" behavior > > > > > > Hello, > > > > > > How can I cancel the "auto-version" behavior. > > > I would like that my users have an error when they do a PUT action if > > > they didn't checkouted before. > > > > > > Thanks in advance > > > > > > -- > > > chek75005 le retour > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > ----------------------------------------------------------------------------------- > > This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of > > its related entities "Suncorp". > > > > Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 > > 11 55 or at suncorp.com.au.> > > > > The content of this e-mail is the view of the sender or stated author and > > does not necessarily reflect the view of Suncorp. The content, including > > attachments, is a confidential communication between Suncorp and the > > intended recipient. If you are not the intended recipient, any use, > > interference with, disclosure or copying of this e-mail, including > > attachments, is unauthorised and expressly prohibited. If you have received > > this e-mail in error please contact the sender immediately and delete the > > e-mail and any attachments from your system. > > > > If this e-mail constitutes a commercial message of a type that you no > > longer wish to receive please reply to this e-mail by typing Unsubscribe in > > the subject line. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > chek75005 le retour > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
