Jump to content
Sign in to follow this  
Wodzu

How to remove file permanently from repository?

Recommended Posts

Hi,

Long time ago I've committed a set of images to our repository. This repository has now couple of branches. I would like to remove these images from repository and all branches. I want these images to be deleted permanently, I don't want them to be recovered by switching to some changeset. How can I do this and still keep other files in repository intact? Is this operation can only be done by an admin? Is it a lot of hassle to remove these images?

Thank you for your answer.

Share this post


Link to post
Share on other sites

What is the goal of permanentaly remove these files? You can use the archive feature: https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Chapter10:Archivingrevisions

But note that the archive feature will not free up disk space.

We are planning a new feature so you erase old content in a repo (maybe keeping the metadata) so you can reduce the database size but I'm afraid this is not still available. Please cehck the following threads for further details:

Regards,

Carlos

Share this post


Link to post
Share on other sites

Thank you for your answer.

We can't keep these files for a very long time because they are containing sensitive information. Archiving them is out of option, we need to destroy these files completely.

Best regards,

Wodzu

Share this post


Link to post
Share on other sites

You can create a new repo and push to this repo only the branches where these revisions are not present anymore. But I understand this is not a very confortable workaround.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...