In my script, which submits some changes to perforce, I would like to add an interactive mode. The workflow should be as follow:
- the script changes some files which are checked out in the default change list.
- the script calls
p4vc submit
, so the user can inspect the changes and submit them as they are or make some minor changes.
However, the description of the submit form is empty and I would like to populate it from the script, so the user don't have to write it by hand.
Is it possible to pass a default description of the change list using p4vc? I could not find this information in the documentation, which is kept pretty short.
PS: I would like to avoid creating a new change list with proper description and then submit it - because if the user cancels the operation, the files would be in this change list, but I would like to keep them in the default list in this case.