perforceperforce-stream

Possible to have two views on the same Perforce stream?


I have a project set up in a Perforce depot, with a single mainline stream.

I have some tools (CI, git p4) that can only sync a whole stream at once.

My project has lots of large files that aren't always needed (source art assets in a video game). I would like to allow those tools to only sync some of my depot.

Without streams, I would be able to set up a workspace which only included the parts of the depot I needed. With streams though, it looks like this mapping (the 'stream view') is part of the stream itself, and that if another view is wanted, another stream has to be created, and manually updated with changes from the mainline - which sounds awfully similar to branching, which isn't what I want to do.

What I'd like to know, is if there's some way of accomplishing this - multiple views on the same content - with streams.


Solution

  • Like in Bryan's comment, what you want is virtual streams.

    https://www.perforce.com/blog/120221/new-20121-virtual-streams