6
votes

I use P4Admin to create Stream Depot (named streamDepot) in perforce, then I create a Stream(main) by client, I populated it with client workspace and with a project. But when I try to obliterate the files and delete that streamDepot depot with P4Admin, I got no luck. Message says:

Depot 'streamDepot' is the location of existing streams; cannot delete until they are removed.

So what is the meaning of existing streams? I already deleted client namespace and files which mapped to streamDepot's Stream(main). What should I do? I dont see any files in streamDepot (no main stream or stream types) with viewing P4Admin by Depots Tab.

1
The stream is a separate concept from the files in the stream. Just as you created the stream and then populated it with files, you have to obliterate the files, then delete the stream. But why do you need to delete the stream depot? Is it causing you problems? Generally, depots are created and never deleted. - Bryan Pendleton
I obliterate files already but no luck when deleting. - Mustafa Ekici
You can run 'p4 streams' to view the streams in your stream depot, and 'p4 stream -d' to delete an unused stream. - Bryan Pendleton
oh thanks p4 stream -d //streamDepot/Main then its ok now. - Mustafa Ekici

1 Answers

3
votes

When you created the Streamdepot you created a main stream along with it (I believe, its been a while since we set ours up.) I would hazard a guess you just need to delete that stream and then you should be good to delete the depot. look for //streamdepot/Main obliterate the files, obliterate the stream, obliterate the depot.