简体   繁体   中英

How to add files to default changelist in Perforce .NET API?

We have a system that generates reports and will dump them in a P4 workspace folder. I am building a .NET program to run on a schedule that will submit these reports to P4.

How do I find the unversioned files, add them to a changelist then submit them?

This is easy to do using the P4V client as Reconcile Offline Work automatically adds untracked files and opens for edit any with changes.

As for doing it procedurally through an API, you might be out of luck for similar functionality but have a look at a powershell solution

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM