[p4] submit numbered changelist in command line client
Greg Pan
Greg.Pan at excapsa.ca
Thu Aug 10 11:13:06 PDT 2006
I have implemented a trigger (python script) which validates whether the
descriptions user enters meet the length requirement. It will fail if
the length is not met. The only *issue* happens in p4 command line
client. The fail scheme works fine - Perforce warns you that "Submit
validation failed -- fix problems then use 'p4 submit -c xxxx'.". What I
expected was, upon seeing that, I could do 'p4 submit -c xxxx', which
would bring up the submit form where I could edit my description to meet
the requirement. But the re-submit would actually fail right away again
without giving me the chance to edit the description. What I need to do
is to execute 'p4 change xxxx', which bring up the submit form with the
editable description field.
My question is that why 'p4 submit -c xxxx' of command line client does
not give me the submit form? In p4win or p4v, the failed and numbered
changelist can be easily re-submit, as it does open up the submit form
for you. So the same attempt differs in different clients - at least to
me.
By the way, when I try to submit a numbered changelist on p4win, I see 2
commands being executed, "p4 revert -an -c xxxx" followed by "p4 submit
-o xxxx". So probably the combination of the 2 differs from simply "p4
submit -c xxxx"?
Thanks in advance.
Greg
More information about the perforce-user
mailing list