Book a Demo

Author Topic: Get All Latest API  (Read 3006 times)

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Get All Latest API
« on: July 20, 2015, 10:33:31 pm »
Hello,

I would like to programmatically synchronize model with all changes of other SVN replicas.

I loop over all version controlled packages and get latest for each using VersionControlGetLatest(false).

In case of a package that was added to version control, the package itself is imported to the synced model (with a key on icon), but its sub packages are missing.

Executing the application again- imports the next level of sub packages, but, again, without their sub packages and so on.

The sub packages do not exist in p_package at all.

Same result when manually get the latest.
However, get ALL latest indeed import the package with all its sub packages. Is there Get All Latest API? If not (AFAIK), how can I mimic it behavior?

stackoverrflow reference: http://stackoverflow.com/questions/31515319/get-all-latest-api