Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing streams with active clients

I want to remove a task stream of a user who has left the company. So I go

p4 stream -d -f //depot/stream

The system answers :

Stream '//depot/stream' has active clients; cannot delete until they are removed.

Very well, I will remove the active client as well. So I am looking for it with :

p4 clients -S //depot/stream

Which then gives nothing.

So either I missed some options, either there is some kind of bug that is hiding some client. This is not a right issue because I have already removed plenty of streams or clients.

Alternatively is there another way to force the removal ?

like image 476
Xavier T. Avatar asked Dec 08 '22 00:12

Xavier T.


1 Answers

After some trials, I used

p4 clients -a -S //depot/stream

And suddenly there was a match. -a search clients on all servers.

I was logged on an edge server, and apparently the user had created some of its workspace on the main server. I logged in on main and removed the annoying workspace from there.

like image 107
Xavier T. Avatar answered Dec 18 '22 06:12

Xavier T.