You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Hu Yong <yh...@getsilicon.net> on 2004/08/11 05:26:26 UTC

a question about version-control (From HuYong)

All,

When I use WebDavResource.proppatchMethod() to set one file's property, a new version will be created in history. Coulde I do some configure to avoid the new version's auto generation? 

My auto-version-control is set true and auto-version is checkout-checkin

Looking forwards to the reply

regards
huyong

Re: a question about version-control (From HuYong)

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
You seem to already have an idea what the answer might look like.

If you don't want a new version to be automatically created on every
PROPPATCH (or PUT by the way), you must not set auto-version to
"checkout-checkin". Use another model like "checkout" and call CHECKIN
explicitly if you really want a new version.

Ingo

> All,
> 
> When I use WebDavResource.proppatchMethod() to set one file's property, =
> a new version will be created in history. Coulde I do some configure to =
> avoid the new version's auto generation?=20
> 
> My auto-version-control is set true and auto-version is checkout-checkin
> 
> Looking forwards to the reply


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: a question about version-control (From HuYong)

Posted by Hu Yong <yh...@getsilicon.net>.
But if I set auto-version-control to false, can slide manage the file
version automatically?

Is there API which is used to set the auto-version-control on or false?

----- Original Message -----
From: "Guido Casper" <gc...@s-und-n.de>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Wednesday, August 11, 2004 3:03 PM
Subject: Re: a question about version-control (From HuYong)


> Hu Yong wrote:
>
> > All,
> >
> > When I use WebDavResource.proppatchMethod() to set one file's property,
a new version will be created in history. Coulde I do some configure to
avoid the new version's auto generation?
>
> Yes, set auto-version-control to false. However this only affects newly
> created resources. For existing resources (IIUC), you have to proppatch
> the auto-version property.
>
> HTH
> Guido
>
> >
> > My auto-version-control is set true and auto-version is checkout-checkin
> >
> > Looking forwards to the reply
> >
> > regards
> > huyong
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: a question about version-control (From HuYong)

Posted by Guido Casper <gc...@s-und-n.de>.
Hu Yong wrote:

> All,
> 
> When I use WebDavResource.proppatchMethod() to set one file's property, a new version will be created in history. Coulde I do some configure to avoid the new version's auto generation? 

Yes, set auto-version-control to false. However this only affects newly
created resources. For existing resources (IIUC), you have to proppatch
the auto-version property.

HTH
Guido

> 
> My auto-version-control is set true and auto-version is checkout-checkin
> 
> Looking forwards to the reply
> 
> regards
> huyong
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org