Jump to content

Way to delete all history for a specific file without breaking all history for all repo?


diegohb

Recommended Posts

@diegohb, you can't delete the history for a file but you can archive its content, the same it's explained at your link can be done by using the "cm archive" command.

Imagine you submitted some dark secrets to the repository, you can do the following:

cm archive C:\wks\mysecret.png#br:/main#0 -c="big trouble" -f="Z:\mySecretFileDst"

And you will extract the info from the repository, actually from the database, the only place where the data is located after the command is where you choose to dump it... You can then remove it and nobody will be able to know what was inside the "mysecret.png" file.

Check the online doc for further info: https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide.shtml#Chapter10:Archivingrevisions

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...