Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a task stream from the depot view

Tags:

perforce

p4v

I am a new Perforce 2014.1 user.

The team has decided to work with a task stream for each new feature. Now that I have submitted my change and they have been merged to parent. I want to delete the task stream, which is the intended use from what I have understood.

Using p4 stream -d, the task stream disappears from P4V stream view, and is not displayed anymore by p4 streams, which is fine.

However it is still displayed in P4V depot tree pane.

I am worried because we are working on very little "features" and I am going to end up quickly with hundreds of zombie task stream in my depot view. Is there a way to hide them ?

I don't want to obliterate them, I am ok with the file existing in the revision graph and in the db. I have already found the 'Tree restricted to workspace view' but I am actually looking for something like 'Tree restricted to not deleted/unloaded stream'.

It severely limits the point of deleting task if they are still displayed prominently in the interface and can't be hidden !

like image 697
Xavier T. Avatar asked Oct 05 '15 14:10

Xavier T.


1 Answers

One way you can at least...mitigate this, is by putting the task streams in a different depot. While this doesn't allow you to truly get rid of them, it at least buckets them into a separate depot from your primary working area so the main streams are still easily viewable.

As of the 2015.2 server, you can now also change the depth of a stream depot so that you can keep them in the same depot, but put them in their own folder. I.e. You could do:

//streams/mainStreams/mainline
//streams/mainStreams/rel1.0
//streams/taskStreams/featureA
//streams/taskStreams/featureB

Again, while I know this doesn't actually solve the problem, it's a way to at least mitigate the clutter with the creation of many task streams.

like image 199
Gabe Weiss Avatar answered Oct 01 '22 10:10

Gabe Weiss