Jump to content


List shelved files in a changelist (.NET)

.NET

  • Please log in to reply
1 reply to this topic

#1 Swoogan

Swoogan

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 25 November 2016 - 02:32 PM

How do I get the depot paths of the shelved files in a changelist? When I run:

repository.GetChangelist(changeId, options);

the changelist has Shelved = true and ShelvedFiles = null

What magical incantation do I have to perform to populate ShelvedFiles?

#2 Swoogan

Swoogan

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 11 July 2018 - 07:19 PM

The solution is:

var options = new DescribeCmdOptions(DescribeChangelistCmdFlags.Shelved, 0, 0);
repository.GetChangelist(changeId, options);






Also tagged with one or more of these keywords: .NET

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users