Skip to main content
1-Visitor
January 15, 2016
Question

Is there a CLI command that checks in what devpath is a specific project revision ?

  • January 15, 2016
  • 1 reply
  • 1318 views

Hello,

I have a script which automize the sandbox creation. In this script I have the project name and the project revision (using the heyword $ProjectRevision$). And, I want to know from what devpath belongs the project revision number from script, to be able to create sandbox of the devpath mainline.

Thanks,

Ana

    1 reply

    16-Pearl
    January 18, 2016

    Hello Anamaria Prodea‌,

    I think the command you are looking for is si locate:

    si locate -P <projectName> <ScriptMemberName>

    This should dump a list of the project name, the development path, the name of the member, and the revision found there.

    Please let us know if you need more information, or mark an answer as correct by clicking on the Correct Answer button at the bottom of the correct post.

    I hope that helps,

    Kael

    aprodea1-VisitorAuthor
    1-Visitor
    January 19, 2016

    Hello Kael Lizak‌, thanks for response!

    I've tried this command, but unfortunately it's not helping me. In the first step I do not have a sandbox for the batch script.

    I tried with %~f0 for the script file path, but is not working with the temporary location.

    Ana