Jump to content

Helix4Git and Streams

  • Please log in to reply
1 reply to this topic

#1 elpie89



  • Members
  • Pip
  • 6 posts

Posted 26 May 2020 - 11:33 AM

I move the post here as it is more appropriate

I'm playing with Helix4Git
With Last P4V version I can easily create a workspace that point to a DepotGraph and to ClassicDepot
But what about DepotStreams
What If I want that part of my stream point to a depot Graph an maybe to a special branch of a repository?

How are we supposed to work between depotGraph and depotStreams?


#2 P4h



  • Staff
  • 1 posts
  • LocationAtlanta, GA

Posted 29 June 2020 - 03:42 PM


You can include paths under a Graph depot in a stream spec via an 'import' statement.  You must include the '.git' suffix in the name of the repo, and you can also specify a branch, ref or sha at the end of the import

So, if you have the following stream definition:

Stream: //stream/my_hybrid_stream
share ...
import my_graph_content/...  //repo/myGitRepo.git/...@my_branch

Now, clients of stream //stream/my_hybrid_stream can sync files from //repo/myGitRepo to the path my_graph_content under their client root.

Note that, like any import path in a stream definition, files under this path will not be editable by clients of this stream; changes to these files must be made by a client of type 'graph' which maps the source path under //repo/myGitRepo by a user with sufficient permissions, etc.

See: https://www.perforce.../p4_stream.html

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users