Pergunta

We're trying to delete streams for the depot that we no longer need.

In the Graph View I right-clicked and selected delete stream. The stream was removed from the Graph View, however it is still present in the Depot view.

We want to totally remove it, but we can't seem to do it.

'p4 streams' doesn't know about it.

There are still some files in the stream. I wonder if we need to delete those files first.

Thanks, - Rich

Foi útil?

Solução 2

Unless the stream is a task stream, deleting the stream only deletes the stream specification, not the files that have been submitted to the stream.

The files submitted to the stream are part of your permanent history; you want to keep them!

I often find myself referring back to the changelists and diffs of changes made many years ago, sometimes even decades ago, so I do everything possible never to erase old history.

If you really wish to destroy the permanent history of changes made to this stream, you can use the 'p4 obliterate' command, but be aware that this command cannot be undone.

If you are contemplating using obliterate to destroy the files submitted to this stream, you should consider contacting Perforce Technical Support first, as the obliterate command is complicated and has a number of options, and you want to make sure you use the right options. And take a checkpoint first, just for extra protection.

If you are using streams for temporary work, and frequently find yourself wishing to obliterate that work, consider using task streams.

Outras dicas

I wish the people who always answer these posts and say "you don't want to delete your depot!" would understand that people who ask this question are often brand new users who have just made their first depot, made a terrible mess of it, have no idea what they've done and would now like to wipe it and start completely fresh again.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top