0

Changelist during submission might be re-enumerated. I need to get old changelist number for already submitted changelist. I can do that using p4:

p4 -Ztag -F%oldChange% describe 1234

I want to do that using p4api.net but I cannot find the way. Do you know if there is such option?

Bryan Pendleton
  • 16,128
  • 3
  • 32
  • 56
Bartek Kobyłecki
  • 2,365
  • 14
  • 24

1 Answers1

1

It doesn't appear to be part of the P4.Changelist interface, but you should be able to just run the describe command with tagged output and get the oldChange field.

https://www.perforce.com/perforce/doc.current/manuals/p4api.net/p4api.net_reference/Index.html

Look at P4CommandResult.TaggedOutput, P4Command, and Connection.

Samwise
  • 68,105
  • 3
  • 30
  • 44