[p4] Files with double quotes
william_ivey at bmc.com
Fri Jan 1 11:54:12 PST 2010
Dan's example bypassed the editor invocation by putting
the description on the command line. When you invoke an
editor it appears that p4 submit does a more thorough
syntax check which includes the file names and that is
when it sees what it thinks is a problem. This has
nothing to do with the editor, of course.
Have you tried simply escaping the " with \ before you
exit your editor? (Or enclose the entire line in single
quotes - that might also let the syntax check ignore it.)
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of Paulo De Oliveira Cantante De Matos
Sent: Tuesday, December 29, 2009 7:43 AM
Thanks for the example. I see you can do that on the command line. If I
do p4 submit, my editor opens (emacs to be specific) and after I close
it I get:
$ p4 submit
Error in change specification.
Error detected at line 33.
No matching end quote in '//depot/xpto".h # add'.
Hit return to continue...
Is there a way to escape the double quotes in the editor?
More information about the perforce-user