Jump to content

list of Changelists for a stream

stream changelist .net api

  • Please log in to reply
1 reply to this topic

#1 vijai_ge



  • Members
  • Pip
  • 8 posts

Posted 11 October 2013 - 01:44 PM


I need to prepare a report (release notes) for every release, should contain all the changelist numbers and description for that release.

Is there a way i can get the list of changelists submitted for a specific stream (say release stream) using .Net api.

Any help would be much appreciated. Thanks.


#2 p4bill


    Advanced Member

  • Members
  • PipPipPip
  • 217 posts

Posted 16 October 2013 - 09:11 PM

Use the depot path of your stream as the filespec along with the /... trailing wildcard

FileSpec changesFileFilter = new FileSpec(new DepotPath("//streamsDepot/release_stream/..."), null, null, null);
IList<Changelist> releaseChanges = Repository.GetChangelists(null,changesFileFilter );

Note, you will have had to already created a repository object and made a connection, this is just the command you need along with the filespec parameter.

Also tagged with one or more of these keywords: stream, changelist, .net api

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users