Questions tagged [perforce-stream]

A stream is a "smart branch" in Perforce. This is an alternative to the classical depot type that is using branch mapping to map files between the depot and the local file system.

A stream is a "smart branch" in . This is an alternative to the classical depot type that is using branch mapping to map files between the depot and the local file system. The choice of using stream or not is done at the depot creation and can't be altered later. This prevent the use of branch mapping. (or rather the branch mapping is deduced from the stream configuration)

By default, the integrations of a stream (copy or merge) are restricted to the parent or child of the stream.

Stream overview

70 questions
11
votes
1 answer

Perforce - switch to workspace from command line

I am asking how to switch from client1 to client2 where client1 belongs to stream1 and client2 belongs to stream2. What I am looking for it to do the same as being in p4v and then right click on a workspace and selecting 'switch to workspace' Note,…
AJ Gottes
  • 401
  • 1
  • 3
  • 15
8
votes
5 answers

Perforce: moving unsubmitted changes to a different stream

Is there a good way in Perforce to move unsubmitted changes to a different stream before submitting them (equivalent of git stash, git checkout otherbranch, git stash pop)? I currently have the files checked out locally (non-exclusively) and edited.…
entheh
  • 938
  • 1
  • 9
  • 17
6
votes
2 answers

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…
Xavier T.
  • 40,509
  • 10
  • 68
  • 97
3
votes
1 answer

Perforce Integration: Not able to submit the changes to streams from classic work space

I tried integrating the changes from classic depot to stream depot through p4v. Steps below: 1) I moved to classic deport client which has both depot paths (source & destination paths) in client view. 2) ran p4 merge/integrate from my classic…
kunal
  • 125
  • 1
  • 13
3
votes
1 answer

How to exclude a directory when syncing a p4 stream

I am using the command line tools of Perforce. And with the p4 tool, I want to sync to a stream. The problem is that I want to exclude a directory from my workspace. If my work space was defined as a view, this would be possible with something…
Bram
  • 7,440
  • 3
  • 52
  • 94
3
votes
3 answers

Perforce - getting stream name in a trigger script

I want to create a trigger for preventing check-out on files if they belong to a specific stream. I am using the pre-user-edit trigger. The trigger executes a Perl script. When I execute in the Perl script a p4 command, then I get this…
AJ Gottes
  • 401
  • 1
  • 3
  • 15
3
votes
3 answers

Perforce Create new folder in a Stream Depot

I have a Stream Depot - depot I have a stream in that depot that I created called ProductGizmo So in P4V I see that Gizmo lives under depot - i.e depot/ProductGizmo I now want to make ProductGizmo live under a folder called ClientAcme - so that I…
OneGuyInDc
  • 1,557
  • 2
  • 19
  • 50
2
votes
2 answers

Perforce permissions for creating stream depots?

Is it possible to enable my users to create Perforce stream depots without giving them super access everywhere? I just upgraded to Perforce Server 2011.1 and I am eager to use the new streams feature. If I understand correctly, streams have a couple…
jwfearn
  • 28,781
  • 28
  • 95
  • 122
2
votes
1 answer

What is a perforce stream?

I only understand that a workspace is an object which maps a set of file in server on user's file system. Having used git previously, I don't understand the concept of streams yet. Is it same as branching in git? So how would you explain streams to…
SMUsamaShah
  • 7,677
  • 22
  • 88
  • 131
2
votes
1 answer

How can I track a CL's branches across multiple streams with a script

I'm attempting to create a script (If possible) which can fetch a specific CL from perforce and lists the streams or branch that it has been integrated into along with the CL of that integrate and maybe some other details (Like user of check in or…
2
votes
1 answer

Create Release Stream in Perforce from Main stream with imported files

So, I use Perforce as a SW repository, and I'm required to create a "release" stream from my "mainline" stream. The requirement for the "release" stream is that its content should be enough to compile and run the SW. However, there are files that…
Mefitico
  • 816
  • 1
  • 12
  • 41
2
votes
1 answer

Migrating classic depot to streams depot

We want to migrate our classic depot to stream depot. Is it possible? Can anyone please share any docs for that ? i can just import the classic depot project to stream depot, But , it wont get the history of files once i move it to streams depot. Is…
kunal
  • 125
  • 1
  • 13
2
votes
1 answer

How can I look up the latest change to a Perforce stream?

How can I look up the latest change to a Perforce stream, including virtual streams? I can look up the latest change to a depot path (which often corresponds to a stream_name), but that doesn't work for virtual streams. E.g. p4 changes -m1…
Jay Spang
  • 2,013
  • 7
  • 27
  • 32
2
votes
1 answer

What does "Merging down" and "Copying up" mean in perforce streams?

I'm currently working with the perforce API for .net. I'm trying to understand the concept of streams and graphical view of the streams. "Merging down" changes from a source stream and "Copying up" changes to a stream are the two terms I came…
Ponni
  • 443
  • 1
  • 7
  • 20
2
votes
1 answer

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…
Ben Hymers
  • 25,586
  • 16
  • 59
  • 84
1
2 3 4 5