Jump to content


To find child streams connected to a parent stream

api stream p4command

  • Please log in to reply
3 replies to this topic

#1 vijai_ge

vijai_ge

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 29 October 2013 - 04:48 PM

Hi,

I'm just trying to find a command or .net api to find a list of streams (child) which is connected to a stream (parent). i tried p4 stream, but it lists stream only from stream depot. i want specific stream's connected streams list. Any Help.

Regards,
Vijai.S

#2 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 29 October 2013 - 05:32 PM

Use the streams command with a filter argument. From the command line it would look like:

p4 streams -F "Parent=//P4V/main"

In there .net API you'll want the GetStreams() method on the Repository object:

GetStreams Method

#3 vijai_ge

vijai_ge

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 October 2013 - 11:12 AM

Thanks Matt. It works. Sorry couldn't find it in the perforce documentation(s).

Regards,
Vijai.S

#4 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 30 October 2013 - 04:07 PM

No worries. It's why I'm here! ;)





Also tagged with one or more of these keywords: api, stream, p4command

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users