I am new to Perforce. Here's the problem:
$ p4 submit
Change 9 created with 1 open file(s)
Submitting change 9.
Locking 1 files ...
Submit validation failed -- fix problems then use 'p4 submit -c 9'.
The problem is that the description that I entered into the submit form was bad. How do I change it?
I checked the docs for p4 submit, and didn't understand what -i does. Maybe that's what I need. I tried:
$ p4 submit -i "Better description" -c 9 filename
and got:
Usage: submit [ -i -s -r ] [ -c changelist# ] [file]
Missing/wrong number of arguments
Thanks!
p4 change brings up a form for editing or viewing in the editor defined by the environment variable P4EDITOR . When no arguments are provided, this command creates a numbered changelist. All files open in the default changelist are moved to the numbered changelist.
The Open for Edit Options page Specify filetype: Use this option to change the filetype of Perforce-managed files. Click the checkbox and select the filetype and filetype modifier(s). When you submit files opened this way, the new revisions in the depot will have the new filetype.
The p4 undo command opens files to undo a set of previously submitted changes. The undone changes remain a part of the file history, but the new revisions submitted after p4 undo reverse their effect. If a single revision is specified, the specified revision is undone.
Even if the changelist is already submitted you can change the description with
p4 change -u 9
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With