[p4] p4 submit command without a description

P4Sam perforce-user-forum at forums.perforce.com
Tue Aug 30 14:00:01 PDT 2016


Posted on behalf of forum user 'P4Sam'.

"line 27" refers to the change specification (the temp file that p4
tried to invoke your editor on).

When you run a command that involves editing a spec, the spec is saved as a temp
file on the client, the editor (defined by P4EDITOR) is invoked on the client,
and when the editor exits, the temp file is uploaded to the server and
deleted.  Based on what you're describing I suspect the editor is
returning early, i.e. when it's invoked it forks a new process and the
parent process returns immediately -- see   this thread
[http://forums.perforce.com/index.php?/topic/4914-changed-p4editor-now-cant-save-any-changes/]
for another example.  This would look to the caller (p4) like you
opened your editor and exited without making any changes, which would in turn
result in the "change description missing" error from the server, as
well as the editor's sub-process reporting that the file had been deleted
(p4 thought you were done editing it since as far as it could tell the editor
had exited).



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/4926-p4-submit-command-without-a-description


More information about the perforce-user mailing list