How to delete Stream Depot in perforce

11.9k views Asked by At

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.

2

There are 2 answers

1
James On BEST ANSWER

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.

0
AudioBubble On

Initially none of the above solutions worked because when I created the stream, I didn't notice the checkbox that said Create a workspace to use with this steam as shown below:

enter image description here

Naturally this lead to the same error as reported by the OP when I tried to delete the streams and depot later:

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

Eventually I realised the cause (the workspace) and deleted the offending workspace(s) from the Workspaces tab:

enter image description here

With the workspaces deleted, I was able to delete the stream(s) and depot from the Streams tab and P4Admin respectively. No need for command-line.