I don't think this is a good solution.
If I want to submit some file(s), I use "Submit " step and specify the file list. Now, I don't know changelist number and I don't want to specify it.
To carry out Submit step VBP performs "Opened" command and after that "Submit" command.
So, if I not specified changelist, the "Opened" command may failed because -c default is added, but if I specified changelist as "*", "Submit" failed because changelist "*" doesn't exist.
So, I can't submit file(s) from unknown changelist.
IMHO, if changelist not specified, it is no need to add "-c default" to any command. If I want to work with default changelist, I'll specify "default" in changelist filed.
Thanks for your answer and advice.
|