Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: ipstatic on January 05, 2010, 06:36:39 PM

Title: Delete version in subversion
Post by: ipstatic on January 05, 2010, 06:36:39 PM
Hi,

I install subversion to share calendar with sunbird. Every time a user svae a change a version is save.

My question is; How many version subversion old and how could I delete the one I don't need?
Title: Re: Delete version in subversion
Post by: cactus on January 05, 2010, 08:53:30 PM
I install subversion to share calendar with sunbird. Every time a user svae a change a version is save.
That is the nature of subversion.

My question is; How many version subversion old and how could I delete the one I don't need?
You can not (at least not easily) as that is the nature of a program like subversion. All source code management software is meant to keep track of changes and a core feature is to restore previous versions.

The only way you can delete older versions (permanently) is to make an export and use the subversion administration tools to remove the revision you no longer need and then re-import the dump.

I am curious to know which reasons you have for storing them in a subversion repository when you really do not want the history tracked. If you do not want to store older versions I suggest you do not save your calenders in a subversion repository but in a normal ibay.
Title: Re: Delete version in subversion
Post by: ipstatic on January 05, 2010, 09:32:43 PM
Quote
I am curious to know which reasons you have for storing them in a subversion repository when you really do not want the history tracked. If you do not want to store older versions I suggest you do not save your calenders in a subversion repository but in a normal ibay.

I thought I need subversion to open a calendar  on multiple of computer at the same time.

Do you thing I can save the ICS file in the HTML folder of an ibays and be able to open it on a couple of computer with sunbird?
Title: Re: Delete version in subversion
Post by: cactus on January 05, 2010, 09:35:50 PM
Do you thing I can save the ICS file in the HTML folder of an ibays and be able to open it on a couple of computer with sunbird?
I am not sure if multiple users can open it at the same time, but you can easily run a test of course. :-)
Title: Re: Delete version in subversion
Post by: ipstatic on January 05, 2010, 09:41:29 PM
Sure I will test it. I was just asking because i'm far away from my server now :lol:

I will post the result in case someone is interresst

Thank
Title: Re: Delete version in subversion
Post by: ipstatic on January 18, 2010, 03:49:02 AM
Cannot save an agenda from Sunbird to an ibays. The only way is wiyh subversion. But if I disable the auto-version in subversion, I got an error in sunbird.

So, my question is still there: How can I delete version in subversion?
Title: Re: Delete version in subversion
Post by: cactus on January 18, 2010, 10:19:38 AM
So, my question is still there: How can I delete version in subversion?
Please re-read my earlier post (http://forums.contribs.org/index.php/topic,45368.msg220195.html#msg220195).