Koozali.org: home of the SME Server

Delete version in subversion

Offline ipstatic

  • 4
  • +0/-0
Delete version in subversion
« 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?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Delete version in subversion
« Reply #1 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ipstatic

  • 4
  • +0/-0
Re: Delete version in subversion
« Reply #2 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?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Delete version in subversion
« Reply #3 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. :-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ipstatic

  • 4
  • +0/-0
Re: Delete version in subversion
« Reply #4 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

Offline ipstatic

  • 4
  • +0/-0
Re: Delete version in subversion
« Reply #5 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?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Delete version in subversion
« Reply #6 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)